* [PATCH] selftests: pci_endpoint: Do not link with pthread
@ 2026-10-22 18:00 Florian Fainelli
2026-10-22 18:50 ` Frank Li
0 siblings, 1 reply; 2+ messages in thread
From: Florian Fainelli @ 2026-10-22 18:00 UTC (permalink / raw)
To: linux-kernel
Cc: thomas.petazzoni, Florian Fainelli, Manivannan Sadhasivam,
Krzysztof Wilczyński, Kishon Vijay Abraham I, Frank Li,
Shuah Khan, Bjorn Helgaas, Padmanabhan Rajanbabu, Niklas Cassel,
Aman Gupta, open list:PCI ENDPOINT SUBSYSTEM,
open list:KERNEL SELFTEST FRAMEWORK
This tool does not make use of POSIX threads there is no need to link
with libpthread as a result.
Fixes: 392188bb0f6e ("selftests: pci_endpoint: Migrate to Kselftest framework")
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
---
tools/testing/selftests/pci_endpoint/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/pci_endpoint/Makefile b/tools/testing/selftests/pci_endpoint/Makefile
index bf21ebf20b4a..b4ddfc52e79d 100644
--- a/tools/testing/selftests/pci_endpoint/Makefile
+++ b/tools/testing/selftests/pci_endpoint/Makefile
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0
CFLAGS += -O2 -Wl,-no-as-needed -Wall $(KHDR_INCLUDES)
-LDFLAGS += -lrt -lpthread -lm
+LDFLAGS += -lrt -lm
TEST_GEN_PROGS = pci_endpoint_test
--
2.53.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] selftests: pci_endpoint: Do not link with pthread
2026-10-22 18:00 [PATCH] selftests: pci_endpoint: Do not link with pthread Florian Fainelli
@ 2026-10-22 18:50 ` Frank Li
0 siblings, 0 replies; 2+ messages in thread
From: Frank Li @ 2026-10-22 18:50 UTC (permalink / raw)
To: Florian Fainelli
Cc: linux-kernel, thomas.petazzoni, Manivannan Sadhasivam,
Krzysztof Wilczyński, Kishon Vijay Abraham I, Frank Li,
Shuah Khan, Bjorn Helgaas, Padmanabhan Rajanbabu, Niklas Cassel,
Aman Gupta, open list:PCI ENDPOINT SUBSYSTEM,
open list:KERNEL SELFTEST FRAMEWORK
On Thu, Oct 22, 2026 at 11:00:21AM -0700, Florian Fainelli wrote:
> This tool does not make use of POSIX threads there is no need to link
> with libpthread as a result.
>
> Fixes: 392188bb0f6e ("selftests: pci_endpoint: Migrate to Kselftest framework")
> Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
> ---
Reviewed-by: Frank Li <Frank.Li@nxp.com>
> tools/testing/selftests/pci_endpoint/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/testing/selftests/pci_endpoint/Makefile b/tools/testing/selftests/pci_endpoint/Makefile
> index bf21ebf20b4a..b4ddfc52e79d 100644
> --- a/tools/testing/selftests/pci_endpoint/Makefile
> +++ b/tools/testing/selftests/pci_endpoint/Makefile
> @@ -1,6 +1,6 @@
> # SPDX-License-Identifier: GPL-2.0
> CFLAGS += -O2 -Wl,-no-as-needed -Wall $(KHDR_INCLUDES)
> -LDFLAGS += -lrt -lpthread -lm
> +LDFLAGS += -lrt -lm
>
> TEST_GEN_PROGS = pci_endpoint_test
>
> --
> 2.53.0
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-10-22 18:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-22 18:00 [PATCH] selftests: pci_endpoint: Do not link with pthread Florian Fainelli
2026-10-22 18:50 ` Frank Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®