Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Ujfalusi <peter.ujfalusi@ti.com>
To: kbuild test robot <fengguang.wu@intel.com>
Cc: alsa-devel@alsa-project.org, Mark Brown <broonie@kernel.org>,
	kbuild-all@01.org
Subject: Re: [asoc:topic/tas2552 1/8] sound/soc/codecs/tas2552.c:493:27-28: Unneeded semicolon
Date: Fri, 5 Jun 2015 09:50:24 +0300	[thread overview]
Message-ID: <557146B0.9060800@ti.com> (raw)
In-Reply-To: <201506050350.VWBQIwkL%fengguang.wu@intel.com>

On 06/04/2015 10:21 PM, kbuild test robot wrote:
> tree:   git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/tas2552
> head:   16bd395259cf3e9966d40478891e0e610da109d4
> commit: ea178d1456dcf88875d5edd148f2df8ea0de1794 [1/8] ASoC: tas2552: Make the enable-gpio really optional
> 
> 
> coccinelle warnings: (new ones prefixed by >>)
> 
>>> sound/soc/codecs/tas2552.c:493:27-28: Unneeded semicolon
> 
> vim +493 sound/soc/codecs/tas2552.c
> 
>    477	{
>    478		struct device *dev;
>    479		struct tas2552_data *data;
>    480		int ret;
>    481		int i;
>    482	
>    483		dev = &client->dev;
>    484		data = devm_kzalloc(&client->dev, sizeof(*data), GFP_KERNEL);
>    485		if (data == NULL)
>    486			return -ENOMEM;
>    487	
>    488		data->enable_gpio = devm_gpiod_get(dev, "enable", GPIOD_OUT_LOW);
>    489		if (IS_ERR(data->enable_gpio)) {
>    490			if (PTR_ERR(data->enable_gpio) == -EPROBE_DEFER)
>    491				return -EPROBE_DEFER;
>    492	
>  > 493			data->enable_gpio = NULL;;

I did run checkpatch.pl --strict...
Either checkpatch or I missed to spot this, I will send a followup patch to
fix it.

>    494		}
>    495	
>    496		data->tas2552_client = client;
>    497		data->regmap = devm_regmap_init_i2c(client, &tas2552_regmap_config);
>    498		if (IS_ERR(data->regmap)) {
>    499			ret = PTR_ERR(data->regmap);
>    500			dev_err(&client->dev, "Failed to allocate register map: %d\n",
>    501				ret);
> 
> ---
> 0-DAY kernel test infrastructure                Open Source Technology Center
> http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation
> 


-- 
Péter

      reply	other threads:[~2015-06-05  6:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-04 19:21 [asoc:topic/tas2552 1/8] sound/soc/codecs/tas2552.c:493:27-28: Unneeded semicolon kbuild test robot
2015-06-05  6:50 ` Peter Ujfalusi [this message]

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=557146B0.9060800@ti.com \
    --to=peter.ujfalusi@ti.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=fengguang.wu@intel.com \
    --cc=kbuild-all@01.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