* Checkpatch false positive in 2.6.36-rc1.
@ 2010-08-18 6:04 Gopinath, Thara
2010-08-18 10:20 ` Andy Whitcroft
0 siblings, 1 reply; 3+ messages in thread
From: Gopinath, Thara @ 2010-08-18 6:04 UTC (permalink / raw)
To: linux-kernel@vger.kernel.org; +Cc: apw@canonical.com
Hello Andy,
The following is my patch.
Index: linux-omap-pm/arch/arm/plat-omap/Kconfig
===================================================================
--- linux-omap-pm.orig/arch/arm/plat-omap/Kconfig
+++ linux-omap-pm/arch/arm/plat-omap/Kconfig
@@ -37,7 +37,7 @@ config OMAP_DEBUG_LEDS
config OMAP_SMARTREFLEX
bool "SmartReflex support"
- depends on ARCH_OMAP3 && PM
+ depends on (ARCH_OMAP3 || ARCH_OMAP4) && PM
help
Say Y if you want to enable SmartReflex.
And the following is the check patch error I am getting
WARNING: please write a paragraph that describes the config symbol fully
#108: FILE: arch/arm/plat-omap/Kconfig:41:
help
total: 0 errors, 1 warnings, 67 lines checked
I think this is a wrong warning as in the first place this is not a line
introduced or removed by my change. Also If I go to the relevant Kconfig
and take a look at this option it appears as below. So this means there
is an actual paragraph following the help.
config OMAP_SMARTREFLEX
bool "SmartReflex support"
depends on (ARCH_OMAP3 || ARCH_OMAP4) && PM
help
Say Y if you want to enable SmartReflex.
SmartReflex can perform continuous dynamic voltage
scaling around the nominal operating point voltage
according to silicon characteristics and operating
conditions. Enabling SmartReflex reduces power
consumption.
Please note, that by default SmartReflex is only
initialized. To enable the automatic voltage
compensation for VDD1 and VDD2, user must write 1 to
/debug/pm_debug/Smartreflex/SR<X>/autocomp,
where X is 1 or 2 for OMAP3
Regards
Thara
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Checkpatch false positive in 2.6.36-rc1.
2010-08-18 6:04 Checkpatch false positive in 2.6.36-rc1 Gopinath, Thara
@ 2010-08-18 10:20 ` Andy Whitcroft
2010-08-18 10:26 ` Gopinath, Thara
0 siblings, 1 reply; 3+ messages in thread
From: Andy Whitcroft @ 2010-08-18 10:20 UTC (permalink / raw)
To: Gopinath, Thara; +Cc: linux-kernel@vger.kernel.org
On Wed, Aug 18, 2010 at 11:34:51AM +0530, Gopinath, Thara wrote:
> Hello Andy,
>
> The following is my patch.
>
> Index: linux-omap-pm/arch/arm/plat-omap/Kconfig
> ===================================================================
> --- linux-omap-pm.orig/arch/arm/plat-omap/Kconfig
> +++ linux-omap-pm/arch/arm/plat-omap/Kconfig
> @@ -37,7 +37,7 @@ config OMAP_DEBUG_LEDS
>
> config OMAP_SMARTREFLEX
> bool "SmartReflex support"
> - depends on ARCH_OMAP3 && PM
> + depends on (ARCH_OMAP3 || ARCH_OMAP4) && PM
> help
> Say Y if you want to enable SmartReflex.
>
>
> And the following is the check patch error I am getting
>
> WARNING: please write a paragraph that describes the config symbol fully
> #108: FILE: arch/arm/plat-omap/Kconfig:41:
> help
> total: 0 errors, 1 warnings, 67 lines checked
Yes that is a falsie. I think I have fixed it in my tree. Could you
test the version at the URL below and let me know if it works for you.
http://www.kernel.org/pub/linux/kernel/people/apw/checkpatch/checkpatch.pl-testing
-apw
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: Checkpatch false positive in 2.6.36-rc1.
2010-08-18 10:20 ` Andy Whitcroft
@ 2010-08-18 10:26 ` Gopinath, Thara
0 siblings, 0 replies; 3+ messages in thread
From: Gopinath, Thara @ 2010-08-18 10:26 UTC (permalink / raw)
To: Andy Whitcroft; +Cc: linux-kernel@vger.kernel.org
>>-----Original Message-----
>>From: Andy Whitcroft [mailto:apw@canonical.com]
>>Sent: Wednesday, August 18, 2010 3:51 PM
>>To: Gopinath, Thara
>>Cc: linux-kernel@vger.kernel.org
>>Subject: Re: Checkpatch false positive in 2.6.36-rc1.
>>
>>On Wed, Aug 18, 2010 at 11:34:51AM +0530, Gopinath, Thara wrote:
>>> Hello Andy,
>>>
>>> The following is my patch.
>>>
>>> Index: linux-omap-pm/arch/arm/plat-omap/Kconfig
>>> ===================================================================
>>> --- linux-omap-pm.orig/arch/arm/plat-omap/Kconfig
>>> +++ linux-omap-pm/arch/arm/plat-omap/Kconfig
>>> @@ -37,7 +37,7 @@ config OMAP_DEBUG_LEDS
>>>
>>> config OMAP_SMARTREFLEX
>>> bool "SmartReflex support"
>>> - depends on ARCH_OMAP3 && PM
>>> + depends on (ARCH_OMAP3 || ARCH_OMAP4) && PM
>>> help
>>> Say Y if you want to enable SmartReflex.
>>>
>>>
>>> And the following is the check patch error I am getting
>>>
>>> WARNING: please write a paragraph that describes the config symbol fully
>>> #108: FILE: arch/arm/plat-omap/Kconfig:41:
>>> help
>>
>>> total: 0 errors, 1 warnings, 67 lines checked
>>
>>Yes that is a falsie. I think I have fixed it in my tree. Could you
>>test the version at the URL below and let me know if it works for you.
>>
>> http://www.kernel.org/pub/linux/kernel/people/apw/checkpatch/checkpatch.pl-testing
Yep this works. It no longer gives me the warning.
Thanks.
Regards
Thara
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-08-18 10:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-18 6:04 Checkpatch false positive in 2.6.36-rc1 Gopinath, Thara
2010-08-18 10:20 ` Andy Whitcroft
2010-08-18 10:26 ` Gopinath, Thara
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.