Re: include/trace/events/jbd2.h:356:1: sparse: sparse: cast to restricted blk_opf_t

From: Bart Van Assche
Date: Thu Oct 06 2022 - 13:07:51 EST


On 10/6/22 06:49, kernel test robot wrote:
sparse warnings: (new ones prefixed by >>)
fs/jbd2/journal.c: note: in included file (through include/trace/trace_events.h, include/trace/define_trace.h, include/trace/events/jbd2.h):
include/trace/events/jbd2.h:356:1: sparse: sparse: cast to restricted blk_opf_t
include/trace/events/jbd2.h:356:1: sparse: sparse: cast to restricted blk_opf_t
include/trace/events/jbd2.h:356:1: sparse: sparse: restricted blk_opf_t degrades to integer
include/trace/events/jbd2.h:356:1: sparse: sparse: restricted blk_opf_t degrades to integer

I cannot reproduce this. The above warnings should have been fixed by commit
92d23c6e9415 ("overflow, tracing: Define the is_signed_type() macro once").

Bart.