diff options
author | Dan Williams <dan.j.williams@intel.com> | 2021-07-30 23:00:20 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2021-08-11 21:55:54 +0300 |
commit | f21453b0ff6e307bfd59e7a126d9848cea25315c (patch) | |
tree | dbd1bf79ec084c269fee8b6349b72460181d71ea /fs | |
parent | d9cee9f85b22fab88d2b76d2e92b18e3d0e6aa8c (diff) | |
download | linux-f21453b0ff6e307bfd59e7a126d9848cea25315c.tar.xz |
tools/testing/nvdimm: Fix missing 'fallthrough' warning
Use "fallthrough;" to address:
tools/testing/nvdimm/test/nfit.c: In function ‘nd_intel_test_finish_query’:
tools/testing/nvdimm/test/nfit.c:436:37: warning: this statement may
fall through [-Wimplicit-fallthrough=]
436 | fw->missed_activate = false;
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~
tools/testing/nvdimm/test/nfit.c:438:9: note: here
438 | case FW_STATE_UPDATED:
| ^~~~
Reviewed-by: Jeff Moyer <jmoyer@redhat.com>
Link: https://lore.kernel.org/r/162767522046.3313209.14767278726893995797.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions