]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging/lustre: Update cfs_cpu_notify switch statement with a comment
authorOleg Drokin <green@linuxhacker.ru>
Tue, 16 Feb 2016 05:47:11 +0000 (00:47 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Feb 2016 22:33:11 +0000 (14:33 -0800)
We do really mean to fall through to that default case statement from
all previous ones, so add a comment to unconfuse verious tools

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/libcfs/linux/linux-cpu.c

index 6c3e4481c058a1fbb22c0cd1ef6a1eb35d9438d1..7318b77dc45ab935881587bcc583a8dd6d83007a 100644 (file)
@@ -939,6 +939,7 @@ cfs_cpu_notify(struct notifier_block *self, unsigned long action, void *hcpu)
                spin_lock(&cpt_data.cpt_lock);
                cpt_data.cpt_version++;
                spin_unlock(&cpt_data.cpt_lock);
+               /* Fall through */
        default:
                if (action != CPU_DEAD && action != CPU_DEAD_FROZEN) {
                        CDEBUG(D_INFO, "CPU changed [cpu %u action %lx]\n",