Skip to content
Commit 8685c46d authored by Peter Chen's avatar Peter Chen Committed by Greg Kroah-Hartman
Browse files

usb: cdns3: gadget: unsigned int is dereferenced as a wider unsigned long



It is reported by Coverity scan, and fixed it by declare the reg as
unsigned long.

Reviewed-by: default avatarJun Li <jun.li@nxp.com>
Signed-off-by: default avatarPeter Chen <peter.chen@nxp.com>
Acked-by: default avatarRoger Quadros <rogerq@ti.com>
Link: https://lore.kernel.org/r/20200623031001.8469-3-peter.chen@nxp.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8a582641
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment