Re: [PATCH liburing v1 1/3] liburing: Clean up `-Wshorten-64-to-32` warnings from clang

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

 



On 10/20/22 6:52 PM, Ammar Faizi wrote:
From: Dylan Yudaken<dylany@xxxxxx>

liburing has a couple of int shortening issues found by clang. Clean
them all. This cleanup is particularly useful for build systems that
include these files and run with that error enabled.

Link:https://lore.kernel.org/io-uring/20221019145042.446477-1-dylany@xxxxxxxx
Signed-off-by: Dylan Yudaken<dylany@xxxxxx>
Co-authored-by: Ammar Faizi<ammarfaizi2@xxxxxxxxxxx>
Signed-off-by: Ammar Faizi<ammarfaizi2@xxxxxxxxxxx>

BTW, before it's too late. I think we should be consistent on the cast
style:

   (type) a

or

   (type)a

What do you think?

--
Ammar Faizi




[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