[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <172059262476.380385.7447707428260655880.b4-ty@kernel.dk>
Date: Wed, 10 Jul 2024 00:23:44 -0600
From: Jens Axboe <axboe@...nel.dk>
To: asml.silence@...il.com, Thorsten Blum <thorsten.blum@...lux.com>
Cc: io-uring@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] io_uring/napi: Remove unnecessary s64 cast
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
Powered by blists - more mailing lists