diff options
author | Steve Dickson <steved@redhat.com> | 2017-07-19 16:20:01 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2017-07-26 11:27:23 -0400 |
commit | 65675d17d235874572a18fe2f4656e97dc699fe0 (patch) | |
tree | 12c55dfec47bc5d894e1065a702af6c5f1bd6c97 | |
parent | 3187c44672b35b16e67f10137c7cc4d30c0eef73 (diff) | |
download | nfs-utils-65675d17d235874572a18fe2f4656e97dc699fe0.tar.gz nfs-utils-65675d17d235874572a18fe2f4656e97dc699fe0.tar.xz nfs-utils-65675d17d235874572a18fe2f4656e97dc699fe0.zip |
bldev_read_serial: removed a couple warnings
device-inq.c:216:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
device-inq.c:223:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r-- | utils/blkmapd/device-inq.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/blkmapd/device-inq.c b/utils/blkmapd/device-inq.c index 0062a8f..c7952c3 100644 --- a/utils/blkmapd/device-inq.c +++ b/utils/blkmapd/device-inq.c @@ -216,6 +216,7 @@ struct bl_serial *bldev_read_serial(int fd, const char *filename) if ((dev_id->len != 8) && (dev_id->len != 12) && (dev_id->len != 16)) break; + /* FALLTHRU */ case 3: /* NAA */ /* TODO: NAA validity judgement too complicated, * so just ingore it here. @@ -224,6 +225,7 @@ struct bl_serial *bldev_read_serial(int fd, const char *filename) BL_LOG_ERR("Binary code_set expected\n"); break; } + /* FALLTHRU */ case 0: /* vendor specific */ case 1: /* T10 vendor identification */ current_id = dev_id->ids & 0xf; |