From: Devang Panchal Date: Wed, 21 Mar 2018 05:34:35 +0000 (+0530) Subject: eeprom: at25: sizeof t should be sizeof(t) X-Git-Tag: v4.17-rc1~122^2~28 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c84f259c8772d439fc6f014405c735d31943cf18;p=thirdparty%2Fkernel%2Flinux.git eeprom: at25: sizeof t should be sizeof(t) Resolved checkpatch warning "sizeof t should be sizeof(t)" issue found by checkpatch. Signed-off-by: Devang Panchal Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/misc/eeprom/at25.c b/drivers/misc/eeprom/at25.c index 9282ffd607ff2..6a7d4a2ad5147 100644 --- a/drivers/misc/eeprom/at25.c +++ b/drivers/misc/eeprom/at25.c @@ -102,7 +102,7 @@ static int at25_ee_read(void *priv, unsigned int offset, } spi_message_init(&m); - memset(t, 0, sizeof t); + memset(t, 0, sizeof(t)); t[0].tx_buf = command; t[0].len = at25->addrlen + 1;