diff options
author | Lee Jones <lee.jones@linaro.org> | 2020-07-13 09:59:40 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-07-15 23:25:04 +0200 |
commit | 2fee77e5b820e7b0dd6c23b2fcd598641a0faf2d (patch) | |
tree | a137d9601abf2ff80418771ad7c90602c093d608 /sound/Makefile | |
parent | scsi: aacraid: Fix a few kerneldoc issues (diff) | |
download | linux-2fee77e5b820e7b0dd6c23b2fcd598641a0faf2d.tar.xz linux-2fee77e5b820e7b0dd6c23b2fcd598641a0faf2d.zip |
scsi: aacraid: Fix logical bug when !DBG
When DBG is not enabled FIB_COUNTER_INCREMENT() results in an empty
statement, leaving the contents of if() and else() empty.
Fixes the following W=1 kernel build warning(s):
drivers/scsi/aacraid/dpcsup.c: In function ‘aac_response_normal’:
drivers/scsi/aacraid/dpcsup.c:105:50: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
105 | FIB_COUNTER_INCREMENT(aac_config.AsyncRecved);
| ^
drivers/scsi/aacraid/dpcsup.c: In function ‘aac_intr_normal’:
drivers/scsi/aacraid/dpcsup.c:411:30: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
411 | aac_config.AsyncRecved);
| ^
Link: https://lore.kernel.org/r/20200713080001.128044-4-lee.jones@linaro.org
Cc: Adaptec OEM Raid Solutions <aacraid@microsemi.com>
Cc: "PMC-Sierra, Inc" <aacraid@pmc-sierra.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'sound/Makefile')
0 files changed, 0 insertions, 0 deletions