]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
misc: eeprom_93xx46: Changing 'unsigned' to 'unsigned int'
authorDaniel Hejduk <danielhejduk@disroot.org>
Sat, 5 Oct 2024 16:56:53 +0000 (18:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Oct 2024 15:10:39 +0000 (17:10 +0200)
Fixes checkpatch warning: Prefer 'unsigned int' to bare use of 'unsigned'.

Signed-off-by: Daniel Hejduk <danielhejduk@disroot.org>
Link: https://lore.kernel.org/r/20241005165653.26160-1-danielhejduk@disroot.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/eeprom/eeprom_93xx46.c

index e2221be884458fbf98bf92c3e6d86836208b9bdb..9cae6f530679b3e5ee6ed721f952cb6d8f4e216f 100644 (file)
@@ -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] = {};