diff options
author | Lee Jones <lee.jones@linaro.org> | 2020-11-02 14:23:53 +0000 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-11-10 22:27:47 -0500 |
commit | 6abf98de6f8ad4f078f4845589e8d7f024a851bf (patch) | |
tree | ff53427f4f7d0ce951553e0e6ffd029ea1248710 /drivers/scsi/lpfc/lpfc_nvmet.c | |
parent | 3e7491701a3323659d2579f785cda5240351d6f3 (diff) | |
download | lwn-6abf98de6f8ad4f078f4845589e8d7f024a851bf.tar.gz lwn-6abf98de6f8ad4f078f4845589e8d7f024a851bf.zip |
scsi: esas2r: esas2r_int: Add brackets around potentially empty if()s
Fixes the following W=1 kernel build warning(s):
drivers/scsi/esas2r/esas2r_int.c: In function ‘esas2r_doorbell_interrupt’:
drivers/scsi/esas2r/esas2r_int.c:692:22: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
drivers/scsi/esas2r/esas2r_int.c: In function ‘esas2r_send_reset_ae’:
drivers/scsi/esas2r/esas2r_int.c:868:44: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
Link: https://lore.kernel.org/r/20201102142359.561122-14-lee.jones@linaro.org
Cc: Bradley Grove <linuxdrivers@attotech.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_nvmet.c')
0 files changed, 0 insertions, 0 deletions