Skip to contentSkip to conversation

misc: eeprom_93xx46: Changing 'unsigned' to 'unsigned int'

PATCH New Daniel Hejduk 1 participant 1 message Oct 5, 2024 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 misc: eeprom_93xx46: Changing 'unsigned' to 'unsigned int'

Fixes checkpatch warning: Prefer 'unsigned int' to bare use of 'unsigned'.

---
 drivers/misc/eeprom/eeprom_93xx46.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/misc/eeprom/eeprom_93xx46.c +1 -1
index e2221be88445..9cae6f530679 100644
@@ -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] = {};
Signature · 1 line
2.43.0