diff options
| author | Moyster <oysterized@gmail.com> | 2018-11-29 13:51:22 +0100 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2018-11-29 13:51:22 +0100 |
| commit | 119c933eb8a183373fd815b03c18cdf196514501 (patch) | |
| tree | ab2f401e14e98785d7084e6e136dd828a1df5ffa /include/linux | |
| parent | 8578d920ae51ce4555bd544568e1ed83bb66f00f (diff) | |
sound: core: fix warning: this 'if' clause does not guard...
[-Wmisleading-indentation] in function 'snd_timer_user_read'
/home/oyster/Github/android_kernel_m2note/sound/core/timer.c: In function 'snd_timer_user_read':
/home/oyster/Github/android_kernel_m2note/sound/core/timer.c:1986:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (copy_to_user(buffer, &tu->tqueue[qhead],
^~
/home/oyster/Github/android_kernel_m2note/sound/core/timer.c:1989:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
err = -EFAULT;
^~~
/home/oyster/Github/android_kernel_m2note/sound/core/timer.c:1991:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (copy_to_user(buffer, &tu->queue[qhead],
^~
/home/oyster/Github/android_kernel_m2note/sound/core/timer.c:1994:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
err = -EFAULT;
^~~
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
