Re: [PATCH] selftests: pci_endpoint: Do not link with pthread
From: Frank Li
Date: Thu Oct 22 2026 - 14:53:19 EST
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@xxxxxxxxxxxx>
> ---
Reviewed-by: Frank Li <Frank.Li@xxxxxxx>
> 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
>