mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2024-12-28 16:53:49 +00:00
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>
This commit is contained in:
parent
4a8b3d48da
commit
3d1c3272a8
@ -130,6 +130,7 @@ static void micro_rx_msg(struct ipaq_micro *micro, u8 id, int len, u8 *data)
|
||||
default:
|
||||
dev_err(micro->dev,
|
||||
"unknown msg %d [%d] %*ph\n", id, len, len, data);
|
||||
break;
|
||||
}
|
||||
spin_unlock(µ->lock);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user