Subject: [PATCH] kmemcheck: depend on HAVE_ARCH_KMEMCHECK

to make it selectable if it is available

Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
---
lib/Kconfig.kmemcheck | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/lib/Kconfig.kmemcheck b/lib/Kconfig.kmemcheck
index 603c81b..9ccca0d 100644
--- a/lib/Kconfig.kmemcheck
+++ b/lib/Kconfig.kmemcheck
@@ -1,6 +1,7 @@
config HAVE_ARCH_KMEMCHECK
bool

+if HAVE_ARCH_KMEMCHECK
menuconfig KMEMCHECK
bool "kmemcheck: trap use of uninitialized memory"
depends on DEBUG_KERNEL
@@ -89,3 +90,4 @@ config KMEMCHECK_BITOPS_OK
accesses where not all the bits are initialized at the same time.
This may also hide some real bugs.

+endif
--
1.6.0.6


2009-06-28 11:12:25

by Pekka Enberg

[permalink] [raw]
Subject: Re: [PATCH] kmemcheck: depend on HAVE_ARCH_KMEMCHECK

Sebastian Andrzej Siewior wrote:
> to make it selectable if it is available
>
> Signed-off-by: Sebastian Andrzej Siewior <[email protected]>

Looks good to me! Thanks.

Acked-by: Pekka Enberg <[email protected]>

2009-07-01 20:27:42

by Vegard Nossum

[permalink] [raw]
Subject: Re: [PATCH] kmemcheck: depend on HAVE_ARCH_KMEMCHECK

2009/6/28 Pekka Enberg <[email protected]>:
> Sebastian Andrzej Siewior wrote:
>>
>> to make it selectable if it is available
>>
>> Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
>
> Looks good to me! Thanks.
>
> Acked-by: Pekka Enberg <[email protected]>

Applied, thanks.


Vegard

Subject: Re: [PATCH] kmemcheck: depend on HAVE_ARCH_KMEMCHECK

* Vegard Nossum | 2009-07-01 22:27:32 [+0200]:

>2009/6/28 Pekka Enberg <[email protected]>:
>> Sebastian Andrzej Siewior wrote:
>>>
>>> to make it selectable if it is available
>>>
>>> Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
>>
>> Looks good to me! Thanks.
>>
>> Acked-by: Pekka Enberg <[email protected]>
>
>Applied, thanks.

This patch did not make it into v31. Do you thing it is possible that it
will reach v32?

>Vegard

Sebastian

2009-09-21 21:22:02

by Vegard Nossum

[permalink] [raw]
Subject: Re: [PATCH] kmemcheck: depend on HAVE_ARCH_KMEMCHECK

2009/9/21 Sebastian Andrzej Siewior <[email protected]>:
> * Vegard Nossum | 2009-07-01 22:27:32 [+0200]:
>
>>2009/6/28 Pekka Enberg <[email protected]>:
>>> Sebastian Andrzej Siewior wrote:
>>>>
>>>> to make it selectable if it is available
>>>>
>>>> Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
>>>
>>> Looks good to me! Thanks.
>>>
>>> Acked-by: Pekka Enberg <[email protected]>
>>
>>Applied, thanks.
>
> This patch did not make it into v31. Do you thing it is possible that it
> will reach v32?

Yes. I will send a pull request tonight :-)


Vegard