Re: [PATCH] soc: qcom: socinfo: Annotate switch cases with fall through

2019-08-06 Thread Bjorn Andersson
On Tue 06 Aug 18:50 PDT 2019, Stephen Rothwell wrote: > Hi Bjorn, > > On Tue, 6 Aug 2019 18:24:57 -0700 Bjorn Andersson > wrote: > > > >qcom_socinfo->dbg_root, > >&qcom_socinfo->info.raw_device_num); > > + /* Fall throug

Re: [PATCH] soc: qcom: socinfo: Annotate switch cases with fall through

2019-08-06 Thread Stephen Rothwell
Hi Bjorn, On Tue, 6 Aug 2019 18:24:57 -0700 Bjorn Andersson wrote: > > qcom_socinfo->dbg_root, > &qcom_socinfo->info.raw_device_num); > + /* Fall through */ > case SOCINFO_VERSION(0, 11): > + /* Fall

Re: [PATCH] soc: qcom: socinfo: Annotate switch cases with fall through

2019-08-06 Thread Gustavo A. R. Silva
Hi, On 8/6/19 8:24 PM, Bjorn Andersson wrote: > Introduce fall through annotations in the switch statements of > socinfo_debugfs_init() to silence compiler warnings. > This is enough to silence all the warnings: diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c index 855353be

[PATCH] soc: qcom: socinfo: Annotate switch cases with fall through

2019-08-06 Thread Bjorn Andersson
Introduce fall through annotations in the switch statements of socinfo_debugfs_init() to silence compiler warnings. Fixes: 9c84c1e78634 ("soc: qcom: socinfo: Expose custom attributes") Reported-by: Stephen Rothwell Signed-off-by: Bjorn Andersson --- drivers/soc/qcom/socinfo.c | 11 +++