Re: [PATCH 06/11] ASoC: soc-dapm.c: merge dapm_power_one_widget() and dapm_widget_set_power()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Amadeusz, Mark

> > > +	default:
> > > +	}
> > 
> > This introduces build error when applied:
> > 
> > sound/soc/soc-dapm.c: In function ʽdapm_power_one_widgetʼ:
> > sound/soc/soc-dapm.c:1890:2: error: label at end of compound statement
> >  1890 |  default:
> >       |  ^~~~~~~
> > 
> > (May be because of CONFIG_WERROR, but still it would be a warning at
> > least...)
> 
> Probably also depends on toolchain.  In any case a break; is needed
> there.

Thank you for pointing it.
I didn't get such error/warning...
will send v2 patch, soon.

Thank you for your help !!

Best regards
---
Kuninori Morimoto




[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux