Re: [PATCH] io_uring/napi: Remove unnecessary s64 cast

From: Jens Axboe
Date: Wed Jul 10 2024 - 02:24:10 EST



On Wed, 10 Jul 2024 03:05:21 +0200, Thorsten Blum wrote:
> Since the do_div() macro casts the divisor to u32 anyway, remove the
> unnecessary s64 cast and fix the following Coccinelle/coccicheck
> warning reported by do_div.cocci:
>
> WARNING: do_div() does a 64-by-32 division, please consider using div64_s64 instead
>
>
> [...]

Applied, thanks!

[1/1] io_uring/napi: Remove unnecessary s64 cast
commit: f7c696a56cc7d70515774a24057b473757ec6089

Best regards,
--
Jens Axboe