From: Daniel Hejduk Date: Sat, 5 Oct 2024 16:56:53 +0000 (+0200) Subject: misc: eeprom_93xx46: Changing 'unsigned' to 'unsigned int' X-Git-Tag: v6.13-rc1~28^2~69 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9b85df5d3fe7361ad66b97a5c7bf1cdfec8fb184;p=thirdparty%2Fkernel%2Flinux.git misc: eeprom_93xx46: Changing 'unsigned' to 'unsigned int' Fixes checkpatch warning: Prefer 'unsigned int' to bare use of 'unsigned'. Signed-off-by: Daniel Hejduk Link: https://lore.kernel.org/r/20241005165653.26160-1-danielhejduk@disroot.org Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/misc/eeprom/eeprom_93xx46.c b/drivers/misc/eeprom/eeprom_93xx46.c index e2221be884458..9cae6f530679b 100644 --- a/drivers/misc/eeprom/eeprom_93xx46.c +++ b/drivers/misc/eeprom/eeprom_93xx46.c @@ -229,7 +229,7 @@ static int eeprom_93xx46_ew(struct eeprom_93xx46_dev *edev, int is_on) static ssize_t eeprom_93xx46_write_word(struct eeprom_93xx46_dev *edev, - const char *buf, unsigned off) + const char *buf, unsigned int off) { struct spi_message m; struct spi_transfer t[2] = {};