From: Frank Li <Frank.li@oss.nxp.com>
To: Florian Fainelli <florian.fainelli@broadcom.com>
Cc: linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com,
"Manivannan Sadhasivam" <mani@kernel.org>,
"Krzysztof Wilczyński" <kwilczynski@kernel.org>,
"Kishon Vijay Abraham I" <kishon@kernel.org>,
"Frank Li" <Frank.Li@kernel.org>, "Shuah Khan" <shuah@kernel.org>,
"Bjorn Helgaas" <bhelgaas@google.com>,
"Padmanabhan Rajanbabu" <p.rajanbabu@samsung.com>,
"Niklas Cassel" <cassel@kernel.org>,
"Aman Gupta" <aman1.gupta@samsung.com>,
"open list:PCI ENDPOINT SUBSYSTEM" <linux-pci@vger.kernel.org>,
"open list:KERNEL SELFTEST FRAMEWORK"
<linux-kselftest@vger.kernel.org>
Subject: Re: [PATCH] selftests: pci_endpoint: Do not link with pthread
Date: Thu, 22 Oct 2026 13:50:35 -0500 [thread overview]
Message-ID: <atpa-0Ub1fYndTpg@SMW015318> (raw)
In-Reply-To: <20261022180022.1282641-1-florian.fainelli@broadcom.com>
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
>
prev parent reply other threads:[~2026-10-22 18:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-22 18:00 Florian Fainelli
2026-10-22 18:50 ` Frank Li [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=atpa-0Ub1fYndTpg@SMW015318 \
--to=frank.li@oss.nxp.com \
--cc=Frank.Li@kernel.org \
--cc=aman1.gupta@samsung.com \
--cc=bhelgaas@google.com \
--cc=cassel@kernel.org \
--cc=florian.fainelli@broadcom.com \
--cc=kishon@kernel.org \
--cc=kwilczynski@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=mani@kernel.org \
--cc=p.rajanbabu@samsung.com \
--cc=shuah@kernel.org \
--cc=thomas.petazzoni@bootlin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®