]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: incorrect isolate_mote_t cast in mm_vmscan_lru_isolate
authorVasily Averin <vvs@openvz.org>
Wed, 11 May 2022 09:46:53 +0000 (12:46 +0300)
committerakpm <akpm@linux-foundation.org>
Thu, 19 May 2022 21:08:55 +0000 (14:08 -0700)
commit94d4d41c1a7b8980b3aa5cbb8e9ee46c5fd4bde0
treef08ac0758a722853688d6f859059ccb34852f188
parent740524e1d20d836411c79b2a590d28b051881abe
tracing: incorrect isolate_mote_t cast in mm_vmscan_lru_isolate

Fixes following sparse warnings:

  CHECK   mm/vmscan.c
mm/vmscan.c: note: in included file (through
include/trace/trace_events.h, include/trace/define_trace.h,
include/trace/events/vmscan.h):
./include/trace/events/vmscan.h:281:1: sparse: warning:
 cast to restricted isolate_mode_t
./include/trace/events/vmscan.h:281:1: sparse: warning:
 restricted isolate_mode_t degrades to integer

Link: https://lkml.kernel.org/r/e85d7ff2-fd10-53f8-c24e-ba0458439c1b@openvz.org
Signed-off-by: Vasily Averin <vvs@openvz.org>
Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/trace/events/vmscan.h