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]

 



On Tue, Oct 18, 2022 at 12:47:24PM +0200, Amadeusz Sławiński wrote:
> On 10/18/2022 1:37 AM, Kuninori Morimoto wrote:

> > +	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.

Attachment: signature.asc
Description: PGP signature


[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