[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<175081140500.4083218.18258927815615257832.git-patchwork-notify@kernel.org>
Date: Wed, 25 Jun 2025 00:30:05 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Stefano Garzarella <sgarzare@...hat.com>
Cc: netdev@...r.kernel.org, acking@...are.com, georgezhang@...are.com,
kuba@...nel.org, edumazet@...gle.com, horms@...nel.org,
virtualization@...ts.linux.dev, pabeni@...hat.com, dtor@...are.com,
linux-kernel@...r.kernel.org, davem@...emloft.net, daan.j.demeyer@...il.com
Subject: Re: [PATCH net] vsock/uapi: fix linux/vm_sockets.h userspace
compilation
errors
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Mon, 23 Jun 2025 12:00:53 +0200 you wrote:
> From: Stefano Garzarella <sgarzare@...hat.com>
>
> If a userspace application just include <linux/vm_sockets.h> will fail
> to build with the following errors:
>
> /usr/include/linux/vm_sockets.h:182:39: error: invalid application of ‘sizeof’ to incomplete type ‘struct sockaddr’
> 182 | unsigned char svm_zero[sizeof(struct sockaddr) -
> | ^~~~~~
> /usr/include/linux/vm_sockets.h:183:39: error: ‘sa_family_t’ undeclared here (not in a function)
> 183 | sizeof(sa_family_t) -
> |
>
> [...]
Here is the summary with links:
- [net] vsock/uapi: fix linux/vm_sockets.h userspace compilation errors
https://git.kernel.org/netdev/net/c/22bbc1dcd0d6
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