ARM: SAMSUNG: Silence empty switch warning in sdhci.h
Subsystems (3)
PATCH 1/2 ARM: SAMSUNG: Silence empty switch warning in sdhci.h
Add 'default' case to silence the following warning:arch/arm/plat-samsung/include/plat/sdhci.h:356:9: warning: switch with no cases
Signed-off-by Sachin Kamat <[email protected]>
--- arch/arm/plat-samsung/include/plat/sdhci.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/plat-samsung/include/plat/sdhci.h +2 -0
@@ -374,6 +374,8 @@ static inline void s3c_sdhci_setname(int id, char *name) s3c_device_hsmmc3.name = name;break ;#endif +default : +break ; } }
Signature · 1 line
1.7.4.1
PATCH 2/2 ARM: SAMSUNG: Silence empty switch warning in fimc-core.h
Add 'default' case to silence the below warning:arch/arm/plat-samsung/include/plat/fimc-core.h:25:9:
warning: switch with no cases
Signed-off-by Sachin Kamat <[email protected]>
--- arch/arm/plat-samsung/include/plat/fimc-core.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/plat-samsung/include/plat/fimc-core.h +2 -0
@@ -43,6 +43,8 @@ static inline void s3c_fimc_setname(int id, char *name) s5p_device_fimc3.name = name;break ;#endif +default : +break ; } }
Signature · 1 line
1.7.4.1
Kukjin Kim
AppliedQuoted 26 lines · Sachin Kamat
Add 'default' case to silence the following warning:
arch/arm/plat-samsung/include/plat/sdhci.h:356:9: warning: switch with no casesSigned-off-by Sachin Kamat <[email protected]>--- arch/arm/plat-samsung/include/plat/sdhci.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)arch/arm/plat- renamed from arch/arm/plat-samsung/include/plat/sdhci.h +0
-0
samsung/include/plat/sdhci.h
index 151cc91..9b87f38 100644arch/arm/plat-samsung/include/plat/sdhci.h +2
-1@@ -374,6 +374,8 @@ static inline void s3c_sdhci_setname(int id, char *name) s3c_device_hsmmc3.name = name;break ;#endif +default : +break ; } } --
Quoted 1 line
1.7.4.1
Applied, this and second one.
Thanks.
- Kukjin