On Thu, 15 Dec 2022 10:31:51 -0800 Ian Rogers <irogers@xxxxxxxxxx> wrote: > Fixes the following clang warning: > > utest/tracefs-utest.c:828:75: error: size argument in 'strncmp' call is a comparison [-Werror,-Wmemsize-comparison] > (!save_debug || strncmp(save_debug, save_tracing, strlen(save_debug) != 0))) > ~~~~~~~~~~~~~~~~~~~^~~~ > utest/tracefs-utest.c:828:22: note: did you mean to compare the result of 'strncmp' instead? > (!save_debug || strncmp(save_debug, save_tracing, strlen(save_debug) != 0))) > ^ ~ > ) > utest/tracefs-utest.c:828:56: note: explicitly cast the argument to size_t to silence this warning > (!save_debug || strncmp(save_debug, save_tracing, strlen(save_debug) != 0))) > ^ > (size_t)( ) This is why I hate lisp! Thanks, I'll apply this. -- Steve