[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <89e7ed8527882bef87734af998b83b4f4912b790.1633442131.git.rob@robgreener.com>
Date: Tue, 5 Oct 2021 13:35:33 +0100
From: Robert Greener <rob@...greener.com>
To: unlisted-recipients:; (no To-header on input)
Subject: [PATCH 03/13] usb: core: config: Change `unsigned` to `unsigned int`
Fix the following checkpatch warning:
core/config.c:622: WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
Signed-off-by: Robert Greener <rob@...greener.com>
---
drivers/usb/core/config.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/core/config.c b/drivers/usb/core/config.c
index 52aab1462787..5de26d64a00b 100644
--- a/drivers/usb/core/config.c
+++ b/drivers/usb/core/config.c
@@ -619,7 +619,7 @@ static int usb_parse_configuration(struct usb_device *dev, int cfgidx,
struct usb_descriptor_header *header;
int retval;
u8 inums[USB_MAXINTERFACES], nalts[USB_MAXINTERFACES];
- unsigned iad_num = 0;
+ unsigned int iad_num = 0;
memcpy(&config->desc, buffer, USB_DT_CONFIG_SIZE);
nintf = nintf_orig = config->desc.bNumInterfaces;
--
2.32.0
Powered by blists - more mailing lists