Re: [PATCH liburing] test/helpers: Use a proper cast for `(struct sockaddr *)` argument

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

 



On Sun, 3 Jul 2022 13:44:05 +0700, Ammar Faizi wrote:
> From: Ammar Faizi <ammarfaizi2@xxxxxxxxxxx>
> 
> Sometimes the compiler accepts (struct sockaddr_in *) to be passed in
> to (struct sockaddr *) without a cast. But not all compilers agree with
> that. Building with clang 13.0.1 yields the following error:
> 
>   error: incompatible pointer types passing 'struct sockaddr_in *' to \
>   parameter of type 'struct sockaddr *' [-Werror,-Wincompatible-pointer-types]
> 
> [...]

Applied, thanks!

[1/1] test/helpers: Use a proper cast for `(struct sockaddr *)` argument
      commit: 752c325dcde43be8d87f83b16d346beac5e1de2a

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