Re: [PATCH liburing] test/helpers: fix socket length type

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

 



On Wed, 18 Jan 2023 11:48:06 -0300, Gabriel Krisman Bertazi wrote:
> t_create_socket_pair uses size_t for paddrlen, which is uint64 on 64-bit
> architecture, while the network syscalls expect uint32.  The implicit
> cast is always safe for little-endian here due to the structure format,
> its small size and the fact it was previously zeroed - so the test
> succeeds.
> 
> Still, on BE machines, our CI caught a few tests crashing on
> connect(). For instance:
> 
> [...]

Applied, thanks!

[1/1] test/helpers: fix socket length type
      commit: b5caa618565c0c6d0053f7b1bae2423cd317660c

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