Commit fe69e556 authored by Takashi Iwai's avatar Takashi Iwai Committed by sanglipeng
Browse files

ALSA: ymfpci: Fix assignment in if condition

stable inclusion
from stable-v5.10.177
commit 688b1178c443fd1bac47bfc5beb90f356f02569d
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I88YNP

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=688b1178c443fd1bac47bfc5beb90f356f02569d

--------------------------------

[ Upstream commit e7daaeed ]

PCI YMFPCI driver code contains lots of assignments in if condition,
which is a bad coding style that may confuse readers and occasionally
lead to bugs.

This patch is merely for coding-style fixes, no functional changes.

Link: https://lore.kernel.org/r/20210608140540.17885-53-tiwai@suse.de


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Stable-dep-of: 6be2e752 ("ALSA: ymfpci: Fix BUG_ON in probe function")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 19693294
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment