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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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







[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux