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>] [thread-next>] [day] [month] [year] [list]
Message-ID: <HK0PR01MB2801789671F56BDA8DA12A83F8B29@HK0PR01MB2801.apcprd01.prod.exchangelabs.com>
Date:   Wed, 22 Jun 2022 18:47:50 +0530
From:   Kushagra Verma <kushagra765@...look.com>
To:     Johan Hovold <johan@...nel.org>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] usb: serial: ark3116: Fix bare use of 'unsigned' checkpatch warning

Fixes the bare use of 'unsigned' checkpatch warning by changing 'unsigned'
to 'unsigned int'.

Signed-off-by: Kushagra Verma <kushagra765@...look.com>
---
 drivers/usb/serial/ark3116.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/usb/serial/ark3116.c b/drivers/usb/serial/ark3116.c
index 39eaa7b97c40..6632f4280bbd 100644
--- a/drivers/usb/serial/ark3116.c
+++ b/drivers/usb/serial/ark3116.c
@@ -75,7 +75,7 @@ struct ark3116_private {
 };
 
 static int ark3116_write_reg(struct usb_serial *serial,
-			     unsigned reg, __u8 val)
+			     unsigned int reg, __u8 val)
 {
 	int result;
 	 /* 0xfe 0x40 are magic values taken from original driver */
@@ -90,7 +90,7 @@ static int ark3116_write_reg(struct usb_serial *serial,
 }
 
 static int ark3116_read_reg(struct usb_serial *serial,
-			    unsigned reg, unsigned char *buf)
+			    unsigned int reg, unsigned char *buf)
 {
 	int result;
 	/* 0xfe 0xc0 are magic values taken from original driver */
@@ -398,7 +398,7 @@ static int ark3116_tiocmget(struct tty_struct *tty)
 }
 
 static int ark3116_tiocmset(struct tty_struct *tty,
-			unsigned set, unsigned clr)
+			unsigned int set, unsigned int clr)
 {
 	struct usb_serial_port *port = tty->driver_data;
 	struct ark3116_private *priv = usb_get_serial_port_data(port);
-- 
2.36.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ