All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] HID: plantronics: Fix bare use of 'unsigned'
@ 2021-08-30 15:27 Aldas Taraškevičius
  0 siblings, 0 replies; 2+ messages in thread
From: Aldas Taraškevičius @ 2021-08-30 15:27 UTC (permalink / raw)
  To: jikos, benjamin.tissoires
  Cc: linux-input, linux-kernel, Aldas Taraškevičius

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

Signed-off-by: Aldas Taraškevičius <aldas60@gmail.com>
---
 drivers/hid/hid-plantronics.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/hid/hid-plantronics.c b/drivers/hid/hid-plantronics.c
index e81b7cec2d12..4aae7569e353 100644
--- a/drivers/hid/hid-plantronics.c
+++ b/drivers/hid/hid-plantronics.c
@@ -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 */
-- 
2.33.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] HID: plantronics: Fix bare use of 'unsigned'
@ 2021-09-11 14:26 Aldas Taraškevičius
  0 siblings, 0 replies; 2+ messages in thread
From: Aldas Taraškevičius @ 2021-09-11 14:26 UTC (permalink / raw)
  To: jikos, benjamin.tissoires
  Cc: linux-input, linux-kernel, Aldas Taraškevičius

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

Signed-off-by: Aldas Taraškevičius <aldas60@gmail.com>
---
 drivers/hid/hid-plantronics.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/hid/hid-plantronics.c b/drivers/hid/hid-plantronics.c
index e81b7cec2d12..4aae7569e353 100644
--- a/drivers/hid/hid-plantronics.c
+++ b/drivers/hid/hid-plantronics.c
@@ -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 */
-- 
2.33.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-11 14:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-30 15:27 [PATCH] HID: plantronics: Fix bare use of 'unsigned' Aldas Taraškevičius
2021-09-11 14:26 Aldas Taraškevičius

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.