diff options
author | Maciej Żenczykowski <[email protected]> | 2021-06-07 17:53:44 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-06-09 10:26:43 +0200 |
commit | 3370139745853f7826895293e8ac3aec1430508e (patch) | |
tree | 3f242ad2d970cb5b2e1cc31dfab01c750bb61440 /drivers/usb/cdns3/cdns3-imx.c | |
parent | 40d9e03f414d8b837926a4460788682e59a8c654 (diff) |
USB: f_ncm: ncm_bitrate (speed) is unsigned
[ 190.544755] configfs-gadget gadget: notify speed -44967296
This is because 4250000000 - 2**32 is -44967296.
Fixes: 9f6ce4240a2b ("usb: gadget: f_ncm.c added")
Cc: Brooke Basile <[email protected]>
Cc: Bryan O'Donoghue <[email protected]>
Cc: Felipe Balbi <[email protected]>
Cc: Lorenzo Colitti <[email protected]>
Cc: Yauheni Kaliuta <[email protected]>
Cc: Linux USB Mailing List <[email protected]>
Acked-By: Lorenzo Colitti <[email protected]>
Signed-off-by: Maciej Żenczykowski <[email protected]>
Cc: stable <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions