]> git.baikalelectronics.ru Git - kernel.git/commit
usb: musb: gadget: Use fallthrough pseudo-keyword
authorGustavo A. R. Silva <gustavoars@kernel.org>
Thu, 8 Oct 2020 22:28:49 +0000 (17:28 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 10 Oct 2020 10:32:29 +0000 (12:32 +0200)
commitc0ff6b2a1cd7096f59629c76a3778dd999f65b6c
tree47eb78e4f7fdc9012c65f36c450ca4138a3bcdb0
parentb3c3cef64ebf40f05dc1090887fecabc838fb517
usb: musb: gadget: Use fallthrough pseudo-keyword

In order to enable -Wimplicit-fallthrough for Clang[1], replace the
existing /* FALLTHROUGH */ comment with the new pseudo-keyword
macro fallthrough[2].

[1] https://git.kernel.org/linus/84bd867e54befd4ce7b6b11c92c6a5884aebd69e
[2] https://www.kernel.org/doc/html/v5.7/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through

Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Link: https://lore.kernel.org/r/20201008222849.GA18634@embeddedor
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/musb_gadget_ep0.c