Skip to contentSkip to conversation

HID: plantronics: Fix bare use of 'unsigned'

PATCH New Aldas Taraškevičius 1 participant 1 message Aug 30, 2021 HID

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 HID: plantronics: Fix bare use of 'unsigned'

Fix checkpatch warning: Prefer 'unsigned int' to bare use of 'unsigned'

---
 drivers/hid/hid-plantronics.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hid/hid-plantronics.c +1 -1
index e81b7cec2d12..4aae7569e353 100644
@@ -143,7 +143,7 @@ static int plantronics_event(struct hid_device *hdev, struct hid_field *field,
 
 static unsigned long plantronics_device_type(struct hid_device *hdev)
 {
-	unsigned i, col_page;
+	unsigned int i, col_page;
 	unsigned long plt_type = hdev->product;
 
 	/* multi-HID interfaces? - plt_type is PID */
Signature · 1 line
2.33.0