mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [morimoto-linux:sound/2021-09-10-v1 21/36] sound/soc/generic/rich-graph-card.c:511:2: error: label at end of compound statement
Date: Sun, 12 Sep 2021 02:13:36 +0800	[thread overview]
Message-ID: <202109120233.mYYRxoNW-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2162 bytes --]

tree:   https://github.com/morimoto/linux sound/2021-09-10-v1
head:   ef65e8d9cd290c52e9db7b341d5f9878bc3ca021
commit: da849e8bdf0863f2f3e2bb25428b6293639cfacd [21/36] ASoC: add Rich Graph Card driver
config: x86_64-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/da849e8bdf0863f2f3e2bb25428b6293639cfacd
        git remote add morimoto-linux https://github.com/morimoto/linux
        git fetch --no-tags morimoto-linux sound/2021-09-10-v1
        git checkout da849e8bdf0863f2f3e2bb25428b6293639cfacd
        # save the attached .config to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   sound/soc/generic/rich-graph-card.c: In function 'graph_count':
>> sound/soc/generic/rich-graph-card.c:511:2: error: label at end of compound statement
     511 |  default:
         |  ^~~~~~~


vim +511 sound/soc/generic/rich-graph-card.c

   491	
   492	static int graph_count(struct asoc_simple_priv *priv,
   493			       struct graph_custom_hooks *hooks,
   494			       enum graph_type gtype,
   495			       struct device_node *lnk,
   496			       struct link_info *li)
   497	{
   498		struct device *dev = simple_priv_to_dev(priv);
   499		GRAPH_CUSTOM func = NULL;
   500		int ret = -EINVAL;
   501	
   502		if (li->link >= SNDRV_MAX_LINKS) {
   503			dev_err(dev, "too many links\n");
   504			return ret;
   505		}
   506	
   507		switch (gtype) {
   508		case GRAPH_NORMAL:
   509			func = graph_count_normal;
   510			break;
 > 511		default:
   512		}
   513	
   514		if (!func) {
   515			dev_err(dev, "non supported gtype (%d)\n", gtype);
   516			goto err;
   517		}
   518	
   519		ret = func(priv, lnk, li);
   520		if (ret < 0)
   521			goto err;
   522	
   523		li->link++;
   524	err:
   525		return ret;
   526	}
   527	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 61693 bytes --]

                 reply	other threads:[~2021-09-11 18:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202109120233.mYYRxoNW-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=kuninori.morimoto.gx@renesas.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®