public inbox for linux-kernel-mentees@lists.linux-foundation.org
 help / color / mirror / Atom feed
* [PATCH net-next] selftests: af_unix: remove unused stdlib.h include
       [not found] <20251125113648.25903-1-adelodunolaoluwa.ref@yahoo.com>
@ 2025-11-25 11:36 ` Sunday Adelodun
  2025-11-27 11:51   ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Sunday Adelodun @ 2025-11-25 11:36 UTC (permalink / raw)
  To: kuniyu, davem, edumazet, kuba, pabeni, horms, shuah
  Cc: netdev, linux-kselftest, linux-kernel, skhan, david.hunter.linux,
	linux-kernel-mentees, oe-kbuild-all, Sunday Adelodun,
	kernel test robot

The unix_connreset.c test included <stdlib.h>, but no symbol from that
header is used. This causes a fatal build error under certain
linux-next configurations where stdlib.h is not available.

Remove the unused include to fix the build.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/r/202511221800.hcgCKvVa-lkp@intel.com/
Signed-off-by: Sunday Adelodun <adelodunolaoluwa@yahoo.com>
---
 tools/testing/selftests/net/af_unix/unix_connreset.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tools/testing/selftests/net/af_unix/unix_connreset.c b/tools/testing/selftests/net/af_unix/unix_connreset.c
index bffef2b54bfd..9844e829aed5 100644
--- a/tools/testing/selftests/net/af_unix/unix_connreset.c
+++ b/tools/testing/selftests/net/af_unix/unix_connreset.c
@@ -14,7 +14,6 @@
  */
 
 #define _GNU_SOURCE
-#include <stdlib.h>
 #include <string.h>
 #include <fcntl.h>
 #include <unistd.h>
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH net-next] selftests: af_unix: remove unused stdlib.h include
  2025-11-25 11:36 ` [PATCH net-next] selftests: af_unix: remove unused stdlib.h include Sunday Adelodun
@ 2025-11-27 11:51   ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-11-27 11:51 UTC (permalink / raw)
  To: Sunday Adelodun
  Cc: kuniyu, davem, edumazet, kuba, pabeni, horms, shuah, netdev,
	linux-kselftest, linux-kernel, skhan, david.hunter.linux,
	linux-kernel-mentees, oe-kbuild-all, lkp

Hello:

This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Tue, 25 Nov 2025 12:36:48 +0100 you wrote:
> The unix_connreset.c test included <stdlib.h>, but no symbol from that
> header is used. This causes a fatal build error under certain
> linux-next configurations where stdlib.h is not available.
> 
> Remove the unused include to fix the build.
> 
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/r/202511221800.hcgCKvVa-lkp@intel.com/
> Signed-off-by: Sunday Adelodun <adelodunolaoluwa@yahoo.com>
> 
> [...]

Here is the summary with links:
  - [net-next] selftests: af_unix: remove unused stdlib.h include
    https://git.kernel.org/netdev/net-next/c/5c9c1e78de1e

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-11-27 11:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20251125113648.25903-1-adelodunolaoluwa.ref@yahoo.com>
2025-11-25 11:36 ` [PATCH net-next] selftests: af_unix: remove unused stdlib.h include Sunday Adelodun
2025-11-27 11:51   ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox