linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alex Elder <elder@linaro.org>
To: Jakub Kicinski <kuba@kernel.org>,
	"David S . Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] soc: qcom: ipa: build IPA when COMPILE_TEST is enabled
Date: Fri, 13 Mar 2020 07:11:26 -0500	[thread overview]
Message-ID: <20200313121126.7825-1-elder@linaro.org> (raw)

Make CONFIG_QCOM_IPA optionally dependent on CONFIG_COMPILE_TEST.

Suggested-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Alex Elder <elder@linaro.org>
---

David, this implements a suggestion made by Jakub Kicinski.  I tested
it with GCC 9.2.1 for x86 and found no errors or warnings in the IPA
code.  It is the last IPA change I plan to make for v5.7.

Once reviewed and found acceptable, it should go through net-next.

Thanks.

					-Alex

 drivers/net/ipa/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ipa/Kconfig b/drivers/net/ipa/Kconfig
index b8cb7cadbf75..bcab7e52d4e6 100644
--- a/drivers/net/ipa/Kconfig
+++ b/drivers/net/ipa/Kconfig
@@ -1,6 +1,6 @@
 config QCOM_IPA
 	tristate "Qualcomm IPA support"
-	depends on ARCH_QCOM && 64BIT && NET
+	depends on (ARCH_QCOM || COMPILE_TEST) && 64BIT && NET
 	select QCOM_QMI_HELPERS
 	select QCOM_MDT_LOADER
 	default QCOM_Q6V5_COMMON
-- 
2.20.1


             reply	other threads:[~2020-03-13 12:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-13 12:11 Alex Elder [this message]
2020-03-13 18:25 ` [PATCH] soc: qcom: ipa: build IPA when COMPILE_TEST is enabled David Miller
2020-03-13 18:29   ` Alex Elder

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=20200313121126.7825-1-elder@linaro.org \
    --to=elder@linaro.org \
    --cc=davem@davemloft.net \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).