On Mon, 16 Sep 2024 06:24:34 -0700, Nathan Chancellor wrote: > Clang warns (or errors with CONFIG_WERROR=y): > > drivers/infiniband/core/nldev.c:2795:2: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough] > 2795 | default: > | ^ > > Clang is a little more pedantic than GCC, which does not warn when > falling through to a case that is just break or return. Clang's version > is more in line with the kernel's own stance in deprecated.rst, which > states that all switch/case blocks must end in either break, > fallthrough, continue, goto, or return. Add the missing break to silence > the warning. > > [...] Applied, thanks! [1/1] RDMA/nldev: Add missing break in rdma_nl_notify_err_msg() https://git.kernel.org/rdma/rdma/c/7acad3c442df6d Best regards, -- Leon Romanovsky <leon@xxxxxxxxxx>