diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2019-08-20 16:20:05 -0500 |
---|---|---|
committer | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2019-08-20 19:43:54 -0500 |
commit | da1fb2909e701ffbae8c5d6111f475603355e6e2 (patch) | |
tree | ca2d361e811482364f0358eb2c92b91f31745735 /fs/fuse | |
parent | 93cbcf5d22bbe6f2ecf64765d5f6085beceb3ee8 (diff) | |
download | linux-da1fb2909e701ffbae8c5d6111f475603355e6e2.tar.bz2 |
scsi: libsas: sas_discover: Mark expected switch fall-through
Mark switch cases where we are expecting to fall through.
Fix the following warning (Building: mtx1_defconfig mips):
drivers/scsi/libsas/sas_discover.c: In function ‘sas_discover_domain’:
./include/linux/printk.h:309:2: warning: this statement may fall through [-Wimplicit-fallthrough=]
printk(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/scsi/libsas/sas_discover.c:459:3: note: in expansion of macro ‘pr_notice’
pr_notice("ATA device seen but CONFIG_SCSI_SAS_ATA=N so cannot attach\n");
^~~~~~~~~
drivers/scsi/libsas/sas_discover.c:462:2: note: here
default:
^~~~~~~
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Diffstat (limited to 'fs/fuse')
0 files changed, 0 insertions, 0 deletions