summaryrefslogtreecommitdiff
path: root/include/linux/usb_usual.h
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2020-02-13 11:54:00 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-02-19 13:08:52 +0300
commit28926994e5d7f049807119c48bd7b94c2d15fc95 (patch)
tree6bc0ce49d54fdc37da3124925ea224d12cdaa1fa /include/linux/usb_usual.h
parent57a5e5f936be583d2c6cef3661c169e3ea4bf922 (diff)
downloadlinux-28926994e5d7f049807119c48bd7b94c2d15fc95.tar.xz
usb: host: fhci-hcd: annotate PIPE_CONTROL switch case with fallthrough
After this was made buildable for something other than PPC32, kbuild starts warning drivers/usb/host/fhci-hcd.c:398:8: warning: this statement may fall through [-Wimplicit-fallthrough=] I don't know this code, but from the construction (initializing size with 0 and explicitly using "size +=" in the PIPE_BULK case) I assume that fallthrough is indeed intended. Reported-by: kbuild test robot <lkp@intel.com> Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Acked-by: Li Yang <leoyang.li@nxp.com> Link: https://lore.kernel.org/r/20200213085401.27862-1-linux@rasmusvillemoes.dk Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb_usual.h')
0 files changed, 0 insertions, 0 deletions