lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: 
 <171566462879.15721.11797098361423504270.git-patchwork-notify@kernel.org>
Date: Tue, 14 May 2024 05:30:28 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Gabi Falk <gabifalk@....com>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH v2 iproute2] bridge/vlan.c: bridge/vlan.c: fix build with gcc
 14 on musl systems

Hello:

This patch was applied to iproute2/iproute2.git (main)
by Stephen Hemminger <stephen@...workplumber.org>:

On Fri, 10 May 2024 14:36:12 +0000 you wrote:
> On glibc based systems the definition of 'struct timeval' is pulled in
> with inclusion of <stdlib.h> header, but on musl based systems it
> doesn't work this way.  Missing definition triggers an
> incompatible-pointer-types error with gcc 14 (warning on previous
> versions of gcc):
> 
> ../include/json_print.h:80:30: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
>    80 | _PRINT_FUNC(tv, const struct timeval *)
>       |                              ^~~~~~~
> ../include/json_print.h:50:37: note: in definition of macro '_PRINT_FUNC'
>    50 |                                     type value);                        \
>       |                                     ^~~~
> ../include/json_print.h:80:30: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
>    80 | _PRINT_FUNC(tv, const struct timeval *)
>       |                              ^~~~~~~
> ../include/json_print.h:55:45: note: in definition of macro '_PRINT_FUNC'
>    55 |                                             type value)                 \
>       |                                             ^~~~
> ../include/json_print.h: In function 'print_tv':
> ../include/json_print.h:58:48: error: passing argument 5 of 'print_color_tv' from incompatible pointer type [-Wincompatible-pointer-types]
>    58 |                                                value);                  \
>       |                                                ^~~~~
>       |                                                |
>       |                                                const struct timeval *
> 
> [...]

Here is the summary with links:
  - [v2,iproute2] bridge/vlan.c: bridge/vlan.c: fix build with gcc 14 on musl systems
    https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=53a89bfd86ff

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ