nvmem: eeprom: at25: fix type compiler warnings
authorJiri Prchal <jiri.prchal@aksignal.cz>
Fri, 11 Jun 2021 14:27:06 +0000 (16:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Jun 2021 14:42:41 +0000 (16:42 +0200)
commit604288bc61965a3acb20e7ff04379a5d3d289bd8
tree1dc4e2da80816320a5a270c6be04e04d74989f4c
parent63879e2964bceee2aa5bbe8b99ea58bba28bb64f
nvmem: eeprom: at25: fix type compiler warnings

Fixes:
drivers/misc/eeprom/at25.c:181:28: warning: field width should have type 'int', but argument has type 'unsigned long'
drivers/misc/eeprom/at25.c:386:13: warning: cast to smaller integer type 'int' from 'const void *'

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Jiri Prchal <jiri.prchal@aksignal.cz>
Fixes: fd307a4ad332 ("nvmem: prepare basics for FRAM support")
Link: https://lore.kernel.org/r/20210611142706.27336-1-jiri.prchal@aksignal.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/eeprom/at25.c