The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
To: Brian Austin <brian.austin@cirrus.com>
Cc: kbuild-all@01.org, Mark Brown <broonie@kernel.org>,
	Paul Handrigan <Paul.Handrigan@cirrus.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
	alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org
Subject: [PATCH] ASoC: fix semicolon.cocci warnings
Date: Sun, 12 Mar 2017 09:11:32 +0800	[thread overview]
Message-ID: <20170312011132.GA42014@lkp-g5.lkp.intel.com> (raw)
In-Reply-To: <201703120926.sfMZgA75%fengguang.wu@intel.com>

sound/soc/codecs/cs35l35.c:706:2-3: Unneeded semicolon
sound/soc/codecs/cs35l35.c:543:4-5: Unneeded semicolon
sound/soc/codecs/cs35l35.c:553:4-5: Unneeded semicolon


 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

CC: Brian Austin <brian.austin@cirrus.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 cs35l35.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- a/sound/soc/codecs/cs35l35.c
+++ b/sound/soc/codecs/cs35l35.c
@@ -540,7 +540,7 @@ static int cs35l35_hw_params(struct snd_
 			default:
 				dev_err(codec->dev, "ratio not supported\n");
 				return -EINVAL;
-			};
+			}
 		} else {
 			/* Only certain ratios supported in I2S MASTER Mode */
 			switch (sp_sclks) {
@@ -550,7 +550,7 @@ static int cs35l35_hw_params(struct snd_
 			default:
 				dev_err(codec->dev, "ratio not supported\n");
 				return -EINVAL;
-			};
+			}
 		}
 		ret = regmap_update_bits(cs35l35->regmap,
 					CS35L35_CLK_CTL3,
@@ -703,7 +703,7 @@ static int cs35l35_codec_set_sysclk(stru
 	default:
 		dev_err(codec->dev, "Invalid CLK Source\n");
 		return -EINVAL;
-	};
+	}
 
 	switch (freq) {
 	case 5644800:

       reply	other threads:[~2017-03-12  1:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <201703120926.sfMZgA75%fengguang.wu@intel.com>
2017-03-12  1:11 ` kbuild test robot [this message]
2017-03-13 16:57   ` Applied "ASoC: cs35l35: fix semicolon.cocci warnings" to the asoc tree Mark Brown
     [not found] <201706300009.TtWtyn5F%fengguang.wu@intel.com>
2017-06-29 16:27 ` [PATCH] ASoC: fix semicolon.cocci warnings kbuild test robot
     [not found] <202005260227.no1AzpN2%lkp@intel.com>
2020-05-25 18:43 ` kbuild test robot
2020-05-26 16:45   ` Mark Brown

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=20170312011132.GA42014@lkp-g5.lkp.intel.com \
    --to=fengguang.wu@intel.com \
    --cc=Paul.Handrigan@cirrus.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=brian.austin@cirrus.com \
    --cc=broonie@kernel.org \
    --cc=kbuild-all@01.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=tiwai@suse.com \
    /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