mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] kernel: don't add DEBUG_SECTION_MISMATCH=y by default
@ 2015-06-09 14:12 Uwe Kleine-König
  0 siblings, 0 replies; only message in thread
From: Uwe Kleine-König @ 2015-06-09 14:12 UTC (permalink / raw)
  To: ptxdist

DEBUG_SECTION_MISMATCH is a development option that shouldn't be used
in production settings so IMHO it's not sensible to add it as default
setting.

Moreover do some minor wording cleanups.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 platforms/kernel.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/platforms/kernel.in b/platforms/kernel.in
index 2b44ec1e2d40..9f1536ae9837 100644
--- a/platforms/kernel.in
+++ b/platforms/kernel.in
@@ -252,18 +252,18 @@ comment "Development features"
 
 config KERNEL_EXTRA_MAKEVARS
 	string
-	default "CONFIG_DEBUG_SECTION_MISMATCH=y"
+	default ""
 	prompt "Additional kbuild options"
 	help
 	  Specify extra parameters for the kernel build system here. Useful
 	  options include:
 
 	  * CONFIG_DEBUG_SECTION_MISMATCH=y
-	  Enable this feature if you want kernel's builsystem to check for
+	  Enable this feature if you want the kernel's buildsystem to check for
 	  section mismatches (__devinit/__devexit, __init/__exit). This
 	  entry is valid for 2.6.25 kernels and above. Previous kernel versions
 	  do this check automatically. Enabling this feature is recommended
-	  for kernel development.
+	  for kernel development only because it changes how code is inlined.
 	  Changing this entry will rebuild the whole kernel.
 
 	  * C=1
-- 
2.1.4


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-06-09 14:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-09 14:12 [ptxdist] [PATCH] kernel: don't add DEBUG_SECTION_MISMATCH=y by default Uwe Kleine-König

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox