Re: [PATCH -next] ALSA: portman2x4: Use bitwise instead of arithmetic operator for flags

2020-05-07 Thread Takashi Iwai
On Thu, 07 May 2020 08:48:55 +0200, Samuel Zou wrote: > > Fix the following coccinelle warning: > > sound/drivers/portman2x4.c:460:34-35: WARNING: sum of probable bitmasks, > consider | > > Reported-by: Hulk Robot > Signed-off-by: Samuel Zou Applied now. Thanks. Takashi

Re: [PATCH -next] ALSA: portman2x4: Use bitwise instead of arithmetic operator for flags

2020-05-06 Thread Joe Perches
On Thu, 2020-05-07 at 14:48 +0800, Samuel Zou wrote: > Fix the following coccinelle warning: > > sound/drivers/portman2x4.c:460:34-35: WARNING: sum of probable bitmasks, > consider | This one is reasonable. > Reported-by: Hulk Robot > Signed-off-by: Samuel Zou > --- > sound/drivers/portman2x

[PATCH -next] ALSA: portman2x4: Use bitwise instead of arithmetic operator for flags

2020-05-06 Thread Samuel Zou
Fix the following coccinelle warning: sound/drivers/portman2x4.c:460:34-35: WARNING: sum of probable bitmasks, consider | Reported-by: Hulk Robot Signed-off-by: Samuel Zou --- sound/drivers/portman2x4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/drivers/portman2