[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202109082236.qkJcdz52-lkp@intel.com>
Date: Wed, 8 Sep 2021 22:04:39 +0800
From: kernel test robot <lkp@...el.com>
To: Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [morimoto-linux:rich-09-08-v1 23/27]
sound/soc/generic/rich-graph-card.c:270:3: error: label at end of compound
statement
tree: https://github.com/morimoto/linux rich-09-08-v1
head: cba99e179c0250126de8ffb90723dd9dafc11ebe
commit: 1b7f289c130a0b84a573b165422f0c757eed6f72 [23/27] rich
config: i386-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/morimoto/linux/commit/1b7f289c130a0b84a573b165422f0c757eed6f72
git remote add morimoto-linux https://github.com/morimoto/linux
git fetch --no-tags morimoto-linux rich-09-08-v1
git checkout 1b7f289c130a0b84a573b165422f0c757eed6f72
# save the attached .config to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
sound/soc/generic/rich-graph-card.c: In function '__graph_parse_node':
>> sound/soc/generic/rich-graph-card.c:270:3: error: label at end of compound statement
270 | default:
| ^~~~~~~
vim +270 sound/soc/generic/rich-graph-card.c
219
220 static int __graph_parse_node(struct asoc_simple_priv *priv,
221 enum graph_type gtype,
222 struct device_node *ep,
223 struct link_info *li,
224 int is_cpu, int idx)
225 {
226 struct device *dev = simple_priv_to_dev(priv);
227 struct snd_soc_dai_link *dai_link = simple_priv_to_link(priv, li->link);
228 struct simple_dai_props *dai_props = simple_priv_to_props(priv, li->link);
229 struct snd_soc_dai_link_component *dlc;
230 struct asoc_simple_dai *dai;
231 char *dai_name = NULL;
232 char __dai_name[64];
233 int ret, is_single_links = 0;
234
235 if (is_cpu) {
236 dlc = asoc_link_to_cpu(dai_link, idx);
237 dai = simple_props_to_dai_cpu(dai_props, idx);
238 } else {
239 dlc = asoc_link_to_codec(dai_link, idx);
240 dai = simple_props_to_dai_codec(dai_props, idx);
241 }
242
243 graph_parse_mclk_fs(ep, dai_props);
244
245 ret = asoc_simple_parse_dai(ep, dlc, &is_single_links);
246 if (ret < 0)
247 return ret;
248
249 ret = asoc_simple_parse_tdm(ep, dai);
250 if (ret < 0)
251 return ret;
252
253 ret = asoc_simple_parse_clk(dev, ep, dai, dlc);
254 if (ret < 0)
255 return ret;
256
257 /*
258 * DAI Naming
259 */
260 if (!dai_link->name) {
261 struct snd_soc_dai_link_component *cpus = dlc;
262 struct snd_soc_dai_link_component *codecs = asoc_link_to_codec(dai_link, idx);
263
264 switch (gtype) {
265 case GRAPH_NORMAL:
266 snprintf(__dai_name, sizeof(__dai_name),
267 "%s-%s", cpus->dai_name, codecs->dai_name);
268 dai_name = __dai_name;
269 break;
> 270 default:
271 }
272 }
273
274 if (dai_name)
275 asoc_simple_set_dailink_name(dev, dai_link, dai_name);
276
277 if (is_cpu)
278 asoc_simple_canonicalize_cpu(dlc, is_single_links);
279
280 return 0;
281 }
282
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (61645 bytes)
Powered by blists - more mailing lists