]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usx2y: Adjust indentation in snd_usX2Y_hwdep_dsp_status
authorNathan Chancellor <natechancellor@gmail.com>
Wed, 18 Dec 2019 03:42:57 +0000 (20:42 -0700)
committerTakashi Iwai <tiwai@suse.de>
Wed, 18 Dec 2019 06:33:17 +0000 (07:33 +0100)
commita6a77d2238a9ba4883cdbe1582796977ae75d403
tree70993481905d2dc27b47128f94d9c38c37afcdd5
parent559ec46afbe947c7a5e1d44a9dbb60045f2be7fc
ALSA: usx2y: Adjust indentation in snd_usX2Y_hwdep_dsp_status

Clang warns:

../sound/usb/usx2y/usX2Yhwdep.c:122:3: warning: misleading indentation;
statement is not part of the previous 'if' [-Wmisleading-indentation]
        info->version = USX2Y_DRIVER_VERSION;
        ^
../sound/usb/usx2y/usX2Yhwdep.c:120:2: note: previous statement is here
        if (us428->chip_status & USX2Y_STAT_CHIP_INIT)
        ^
1 warning generated.

This warning occurs because there is a space before the tab on this
line. Remove it so that the indentation is consistent with the Linux
kernel coding style and clang no longer warns.

This was introduced before the beginning of git history so no fixes tag.

Link: https://github.com/ClangBuiltLinux/linux/issues/831
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Link: https://lore.kernel.org/r/20191218034257.54535-1-natechancellor@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/usx2y/usX2Yhwdep.c