mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
MISRA rule 16.3 states all switch clause to have break statement. Fixing the missing break statement for default case. Two consecutive labels without statement need not have break. So no break is added for case without any statement. This also makes the switch statement well-formed covering 16.1. JIRA NVGPU-1510 JIRA NVGPU-1536 Change-Id: I2c16888cbcb429f49f1f260e18b7c6eba55aa83c Signed-off-by: Abdul Salam <absalam@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1964328 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>