Message ID | 20220105205443.1274709-3-mkl@pengutronix.de |
---|---|
State | Accepted |
Commit | 5f33a09e769a9da0482f20a6770a342842443776 |
Headers | show |
Series | [net,1/2] can: gs_usb: fix use of uninitialized variable, detach device on reception of invalid USB data | expand |
diff --git a/net/can/isotp.c b/net/can/isotp.c index df6968b28bf4..02cbcb2ecf0d 100644 --- a/net/can/isotp.c +++ b/net/can/isotp.c @@ -119,8 +119,8 @@ enum { }; struct tpcon { - int idx; - int len; + unsigned int idx; + unsigned int len; u32 state; u8 bs; u8 sn;