diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2020-11-19 12:51:28 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2022-03-10 09:49:14 +0100 |
commit | b9d9b030d009055e9c521c7add2d359cc03c4092 (patch) | |
tree | 7c71c1e0a0faa1b866b5ccf4c4969c73e0d470d0 /drivers/net/can/usb | |
parent | 4c7044f3efc00103fe74e608c8a2b15d58e0256e (diff) | |
download | linux-b9d9b030d009055e9c521c7add2d359cc03c4092.tar.bz2 |
can: gs_usb: fix checkpatch warning
This patch fixes a checkpatch warning by converting a "unsigned" into
an "unsigned int".
Link: https://lore.kernel.org/all/20220309124132.291861-3-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can/usb')
-rw-r--r-- | drivers/net/can/usb/gs_usb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/can/usb/gs_usb.c b/drivers/net/can/usb/gs_usb.c index a63650b17931..894cfc1f7a43 100644 --- a/drivers/net/can/usb/gs_usb.c +++ b/drivers/net/can/usb/gs_usb.c @@ -1015,8 +1015,9 @@ static int gs_usb_probe(struct usb_interface *intf, static void gs_usb_disconnect(struct usb_interface *intf) { - unsigned i; struct gs_usb *dev = usb_get_intfdata(intf); + unsigned int i; + usb_set_intfdata(intf, NULL); if (!dev) { |