Ingo Molnar a écrit : > ERROR: do not use assignment in if condition > #43: FILE: kernel/trace/trace.c:1910: > + if ((ret = iter->trace->print_line(iter))) > > ERROR: do not use assignment in if condition > #48: FILE: kernel/trace/trace.c:1914: > + if ((ret = print_bin_fmt(iter))) > > ERROR: do not use assignment in if condition > #53: FILE: kernel/trace/trace.c:1918: > + if ((ret = print_hex_fmt(iter))) > > ERROR: do not use assignment in if condition > #58: FILE: kernel/trace/trace.c:1922: > + if ((ret = print_raw_fmt(iter))) > > ERROR: do not use assignment in if condition > #63: FILE: kernel/trace/trace.c:1926: > + if ((ret = print_lat_fmt(iter, iter->idx, iter->cpu))) > > total: 5 errors, 0 warnings, 0 checks, 32 lines checked > > Oops sorry. Here it is: Correct the coding style in the commit 803294369973b740f4c346553850b56e4b0c3c8a And remove the ret variable since print functions only return 0 or 1. Signed-off-by: Frederic Weisbecker ---