lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20210911142643.201-1-aldas60@gmail.com>
Date:   Sat, 11 Sep 2021 17:26:43 +0300
From:   Aldas Taraškevičius <aldas60@...il.com>
To:     jikos@...nel.org, benjamin.tissoires@...hat.com
Cc:     linux-input@...r.kernel.org, linux-kernel@...r.kernel.org,
        Aldas Taraškevičius <aldas60@...il.com>
Subject: [PATCH] HID: plantronics: Fix bare use of 'unsigned'

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

Signed-off-by: Aldas Taraškevičius <aldas60@...il.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ