[PATCH] ALSA: hda: Assign boolean values to a bool variable

Takashi Iwai tiwai at suse.de
Mon Jan 25 09:01:02 CET 2021


On Mon, 25 Jan 2021 08:17:27 +0100,
Jiapeng Zhong wrote:
> 
> Fix the following coccicheck warnings:
> 
> ./sound/pci/hda/hda_intel.c:2309:3-23: WARNING: Assignment of
> 0/1 to bool variable.
> 
> Reported-by: Abaci Robot <abaci at linux.alibaba.com>
> Signed-off-by: Jiapeng Zhong <abaci-bugfix at linux.alibaba.com>

Thanks, applied now.

But if you have some more similar changes, please try to convert at
once instead of submitting each change infrequently.  It's getting
annoying now, as the change itself hardly helps improving the
readability or code quality in general, although there is no strong
reason to object it.


Takashi


More information about the Alsa-devel mailing list