linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Checkpatch: False positive
@ 2015-07-16 10:55 Viresh Kumar
  2015-07-16 15:35 ` Joe Perches
  0 siblings, 1 reply; 12+ messages in thread
From: Viresh Kumar @ 2015-07-16 10:55 UTC (permalink / raw)
  To: Andy Whitcroft, Joe Perches; +Cc: linux-kernel

Hi Andy/Joe,

I got a warning today for my cover-letter, and it looked like a false
positive. Please have a look, based of v4.2-rc2.

-----------------------
0000-cover-letter.patch
-----------------------
WARNING: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#31: 
 arch/x86/kernel/hpet.c         | 198 ++++++++++++++++++++++++++---------------

-- 
viresh

^ permalink raw reply	[flat|nested] 12+ messages in thread
* checkpatch false positive.
@ 2010-08-11 16:35 Dave Jones
  0 siblings, 0 replies; 12+ messages in thread
From: Dave Jones @ 2010-08-11 16:35 UTC (permalink / raw)
  To: apw; +Cc: Linux Kernel

I just got this from a patch I merged..

ERROR: need consistent spacing around '*' (ctx:WxV)
#121: FILE: arch/x86/kernel/cpu/cpufreq/pcc-cpufreq.c:113:
+static struct pcc_cpu __percpu *pcc_cpu_info;
                                ^
which doesn't seem right.

	Dave


^ permalink raw reply	[flat|nested] 12+ messages in thread
* checkpatch false positive
@ 2010-03-17 11:00 Richard Kennedy
  2010-03-17 11:53 ` Andy Whitcroft
  2010-03-17 15:25 ` Joe Perches
  0 siblings, 2 replies; 12+ messages in thread
From: Richard Kennedy @ 2010-03-17 11:00 UTC (permalink / raw)
  To: Andy Whitcroft; +Cc: lkml

I'm getting this error from checkpatch which is a false positive AFAICT.
I don't see any other way to code this macro so maybe this rule
shouldn't apply?.

	ERROR: space prohibited before open square bracket '['
	#24: FILE: drivers/staging/wlan-ng/p80211wext.c:1685:
	+#define IW_IOCTL(x) [(x)-SIOCSIWCOMMIT]

regards
Richard


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-07-16 17:21 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <54461602.4000705@redhat.com>
2014-10-21  8:28 ` checkpatch false positive Joe Perches
2014-10-21  9:27   ` Hans de Goede
2015-07-16 10:55 Checkpatch: False positive Viresh Kumar
2015-07-16 15:35 ` Joe Perches
2015-07-16 15:43   ` Andy Whitcroft
2015-07-16 15:58     ` Joe Perches
2015-07-16 17:21       ` Andy Whitcroft
  -- strict thread matches above, loose matches on Subject: below --
2010-08-11 16:35 checkpatch false positive Dave Jones
2010-03-17 11:00 Richard Kennedy
2010-03-17 11:53 ` Andy Whitcroft
2010-03-17 15:25 ` Joe Perches
2010-03-17 15:40   ` Richard Kennedy

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).