diff options
| author | Ley Foon Tan <ley.foon.tan@intel.com> | 2020-06-12 14:04:49 +0800 | 
|---|---|---|
| committer | Ley Foon Tan <ley.foon.tan@intel.com> | 2020-06-12 14:04:49 +0800 | 
| commit | 6b57fa4d374bb8c005dee396c56598c14b9c01a6 (patch) | |
| tree | 1f876f877840f5ea1f3ffeb49e36f20ddb6841c4 /lib/mpi/mpi-internal.h | |
| parent | 3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162 (diff) | |
nios2: signal: Mark expected switch fall-through
Mark switch cases where we are expecting to fall through.
Fix the following warning through the use of the new the new
pseudo-keyword fallthrough;
arch/nios2/kernel/signal.c:254:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
  254 |    restart = -2;
      |    ~~~~~~~~^~~~
arch/nios2/kernel/signal.c:255:3: note: here
  255 |   case ERESTARTNOHAND:
      |   ^~~~
Reported-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions
