On Wed, 2 Sep 2026 18:36:45 +0800 kernel test robot <[email protected]> wrote:
> All warnings (new ones prefixed by >>): > > kernel/trace/trace.c: In function 'trace_array_options_get': > >> kernel/trace/trace.c:7871:30: warning: comparison of distinct pointer > >> types lacks a cast [-Wcompare-distinct-pointer-types] > 7871 | if (tr_index >= &tr->trace_flags_index[0] && > | ^~ > kernel/trace/trace.c:7872:30: warning: comparison of distinct pointer > types lacks a cast [-Wcompare-distinct-pointer-types] > 7872 | tr_index < > &tr->trace_flags_index[TRACE_FLAGS_MAX_SIZE]) > | ^ Hmm, I thought void pointers could compare to anything. Oh well, I'll typecast the address too. -- Steve
