Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1208553 > unrolled thread

[PATCH] staging: hfi1: Kconfig: remove 'CONFIG_' prefix

Started byValentin Rothberg <valentinrothberg@gmail.com>
First post2015-08-17 14:00 +0200
Last post2015-08-18 21:50 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] staging: hfi1: Kconfig: remove 'CONFIG_' prefix Valentin Rothberg <valentinrothberg@gmail.com> - 2015-08-17 14:00 +0200
    RE: [PATCH] staging: hfi1: Kconfig: remove 'CONFIG_' prefix "Marciniszyn, Mike" <mike.marciniszyn@intel.com> - 2015-08-17 15:20 +0200
    RE: [PATCH] staging: hfi1: Kconfig: remove 'CONFIG_' prefix "Marciniszyn, Mike" <mike.marciniszyn@intel.com> - 2015-08-18 21:50 +0200

#1208553 — [PATCH] staging: hfi1: Kconfig: remove 'CONFIG_' prefix

FromValentin Rothberg <valentinrothberg@gmail.com>
Date2015-08-17 14:00 +0200
Subject[PATCH] staging: hfi1: Kconfig: remove 'CONFIG_' prefix
Message-ID<pYrf5-6rp-33@gated-at.bofh.it>
Remove the 'CONFIG_' prefix of the Kconfig options PRESCAN_RXQ and
SDMA_VERBOSITY in Kconfig.  Such prefix in Kconfig requires a double
'CONFIG_CONFIG_' prefix in Make and CPP syntax.

Since both options are referenced in the hfi1 source code as
CONFIG_{PRESCAN_RXQ, SDMA_VERBOSITY} the referencing #ifdef's can now be
compiled.

Signed-off-by: Valentin Rothberg <valentinrothberg@gmail.com>
---
Note that this issue was present since the driver's config files have
been added by commit 8214d07e6f21 ("IB/hfi1: add driver make/config
files").  This change does not introduce any build issues, but I cannot
test it.

I detected this issues with scripts/checkkconfigsymbols.py by diffing
next-20150814..next-20150817

 drivers/staging/hfi1/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/hfi1/Kconfig b/drivers/staging/hfi1/Kconfig
index 87a385a02cba..fd25078ee923 100644
--- a/drivers/staging/hfi1/Kconfig
+++ b/drivers/staging/hfi1/Kconfig
@@ -18,14 +18,14 @@ config HFI1_VERBS_31BIT_PSN
 	---help---
 	Setting this enables 31 BIT PSN
 	For verbs RC/UC
-config CONFIG_SDMA_VERBOSITY
+config SDMA_VERBOSITY
 	bool "Config SDMA Verbosity"
 	depends on INFINIBAND_HFI1
 	default n
 	---help---
 	This is a configuration flag to enable verbose
 	SDMA debug
-config CONFIG_PRESCAN_RXQ
+config PRESCAN_RXQ
 	bool "Enable prescanning of the RX queue for ECNs"
 	depends on INFINIBAND_HFI1
 	default n
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1208583

From"Marciniszyn, Mike" <mike.marciniszyn@intel.com>
Date2015-08-17 15:20 +0200
Message-ID<pYsuu-8oB-7@gated-at.bofh.it>
In reply to#1208553
> Subject: [PATCH] staging: hfi1: Kconfig: remove 'CONFIG_' prefix
> Signed-off-by: Valentin Rothberg <valentinrothberg@gmail.com>
> ---

Thanks for the patch!

Acked-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1209449

From"Marciniszyn, Mike" <mike.marciniszyn@intel.com>
Date2015-08-18 21:50 +0200
Message-ID<pYV3r-7z7-7@gated-at.bofh.it>
In reply to#1208553
> Subject: [PATCH] staging: hfi1: Kconfig: remove 'CONFIG_' prefix
> 
> Remove the 'CONFIG_' prefix of the Kconfig options PRESCAN_RXQ and
> SDMA_VERBOSITY in Kconfig.  Such prefix in Kconfig requires a double
> 'CONFIG_CONFIG_' prefix in Make and CPP syntax.
> 

Doug,  can you pull this one in?

There is a Kconfig checker that caught this one!

Mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web