Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mfd: ipaq-micro: Add missing break for the default case

Even default case should have a break statement to make code robust
against changes (e.g., adding a case after the default one).

Add missing break for the default case.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20241016130023.872277-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Lee Jones <lee@kernel.org>

authored by

Andy Shevchenko and committed by
Lee Jones
3d1c3272 4a8b3d48

+1
+1
drivers/mfd/ipaq-micro.c
··· 130 130 default: 131 131 dev_err(micro->dev, 132 132 "unknown msg %d [%d] %*ph\n", id, len, len, data); 133 + break; 133 134 } 134 135 spin_unlock(&micro->lock); 135 136 }