aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2018-10-08 21:47:36 +0100
committerBen Skeggs <[email protected]>2019-02-20 08:59:58 +1000
commit785cf1eeafa23ec63f426d322401054d13abe2a3 (patch)
tree33a79a780c9fc0423d8bd6534939514fb6201d19 /drivers/usb/cdns3/cdns3-debug.h
parent966b2217d2b94ef44c55184f99a40d48f9ad593b (diff)
drm/nouveau: fix missing break in switch statement
The NOUVEAU_GETPARAM_PCI_DEVICE case is missing a break statement and falls through to the following NOUVEAU_GETPARAM_BUS_TYPE case and may end up re-assigning the getparam->value to an undesired value. Fix this by adding in the missing break. Detected by CoverityScan, CID#1460507 ("Missing break in switch") Fixes: 359088d5b8ec ("drm/nouveau: remove trivial cases of nvxx_device() usage") Signed-off-by: Colin Ian King <[email protected]> Reviewed-by: Gustavo A. R. Silva <[email protected]> Signed-off-by: Ben Skeggs <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions