On Sun, 25 Feb 2024 17:45:08 +0100
Thorsten Blum wrote:
> Fixes Coccinelle/coccicheck warnings reported by do_div.cocci.
>
> Compared to do_div(), div64_u64() does not implicitly cast the divisor and
> does not unnecessarily calculate the remainder.
>
Looks good to me.
Acked-by: Masami Hirama
Fixes Coccinelle/coccicheck warnings reported by do_div.cocci.
Compared to do_div(), div64_u64() does not implicitly cast the divisor and
does not unnecessarily calculate the remainder.
Signed-off-by: Thorsten Blum
---
kernel/trace/trace_benchmark.c | 5 ++---
1 file changed, 2 insertions(+), 3
2 matches
Mail list logo