All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Lars-Peter Clausen <lars@metafoo.de>
Cc: Oder Chiou <oder_chiou@realtek.com>,
	alsa-devel@alsa-project.org, Jie Yang <yang.jie@linux.intel.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>,
	Mark Brown <broonie@kernel.org>, Bard Liao <bardliao@realtek.com>
Subject: Re: [PATCH 1/5] ASoC: adau1761: Use the standard fall-through annotation
Date: Thu, 04 Oct 2018 20:39:11 +0200	[thread overview]
Message-ID: <s5hr2h5lfow.wl-tiwai@suse.de> (raw)
In-Reply-To: <6342c80c-7d4e-74d5-f5e9-9353e83c7e5c@metafoo.de>

On Thu, 04 Oct 2018 20:34:20 +0200,
Lars-Peter Clausen wrote:
> 
> On 10/04/2018 08:30 PM, Takashi Iwai wrote:
> > As a preparatory patch for the upcoming -Wimplicit-fallthrough
> > compiler checks, replace with the standard "fall through" annotation
> > at the right place.  It has to be put right before the next label.
> > 
> > Signed-off-by: Takashi Iwai <tiwai@suse.de>
> 
> Looks good, but somebody else already sent the same awhile ago. I'm not
> sure, maybe it did not get picked up:
> https://patchwork.kernel.org/patch/10560465/?

Yeah, seems to have slipped from Mark's hands.

I don't mind which patch is taken, of course.


thanks,

Takashi

> 
> > ---
> >  sound/soc/codecs/adau1761.c | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> > 
> > diff --git a/sound/soc/codecs/adau1761.c b/sound/soc/codecs/adau1761.c
> > index be136e981653..bef3e9e74c26 100644
> > --- a/sound/soc/codecs/adau1761.c
> > +++ b/sound/soc/codecs/adau1761.c
> > @@ -518,7 +518,8 @@ static int adau1761_setup_digmic_jackdetect(struct snd_soc_component *component)
> >  			ARRAY_SIZE(adau1761_jack_detect_controls));
> >  		if (ret)
> >  			return ret;
> > -	case ADAU1761_DIGMIC_JACKDET_PIN_MODE_NONE: /* fallthrough */
> > +		/* fall through */
> > +	case ADAU1761_DIGMIC_JACKDET_PIN_MODE_NONE:
> >  		ret = snd_soc_dapm_add_routes(dapm, adau1761_no_dmic_routes,
> >  			ARRAY_SIZE(adau1761_no_dmic_routes));
> >  		if (ret)
> > 
> 

  reply	other threads:[~2018-10-04 18:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-04 18:30 [PATCH 0/5] ASoC: Fix fall-through annotations Takashi Iwai
2018-10-04 18:30 ` [PATCH 1/5] ASoC: adau1761: Use the standard fall-through annotation Takashi Iwai
2018-10-04 18:34   ` Lars-Peter Clausen
2018-10-04 18:39     ` Takashi Iwai [this message]
2018-10-05 11:42       ` Mark Brown
2018-10-04 18:30 ` [PATCH 2/5] ASoC: pcm186x: " Takashi Iwai
2018-10-05 13:26   ` Applied "ASoC: pcm186x: Use the standard fall-through annotation" to the asoc tree Mark Brown
2018-10-04 18:30 ` [PATCH 3/5] ASoC: rt274: Add fall-through annotations Takashi Iwai
2018-10-05 13:26   ` Applied "ASoC: rt274: Add fall-through annotations" to the asoc tree Mark Brown
2018-10-04 18:30 ` [PATCH 4/5] ASoC: intel: skylake: Add fall-through annotation Takashi Iwai
2018-10-04 18:30 ` [PATCH 5/5] ASoC: topology: Use the standard fall-through annotations Takashi Iwai
2018-10-05 13:25   ` Applied "ASoC: topology: Use the standard fall-through annotations" to the asoc tree 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=s5hr2h5lfow.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=bardliao@realtek.com \
    --cc=broonie@kernel.org \
    --cc=lars@metafoo.de \
    --cc=lgirdwood@gmail.com \
    --cc=oder_chiou@realtek.com \
    --cc=pierre-louis.bossart@linux.intel.com \
    --cc=yang.jie@linux.intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.