public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* checkpatch.pl false positive: FSF mailing address
@ 2016-03-10 19:00 Brian Norris
  2016-03-10 19:08 ` Joe Perches
  0 siblings, 1 reply; 6+ messages in thread
From: Brian Norris @ 2016-03-10 19:00 UTC (permalink / raw)
  To: Joe Perches; +Cc: linux-mtd, linux-kernel

Hi Joe,

I found this false positive amusing:

$ curl http://patchwork.ozlabs.org/patch/577786/mbox/ | scripts/checkpatch.pl -
[...]
ERROR: Do not include the paragraph about writing to the Free Software
Foundation's mailing address from the sample GPL notice. The FSF has
changed addresses in the past, and may do so again. Linux already
includes a copy of the GPL.
#1489: FILE: drivers/mtd/nand/qcom_nandc.c:1335:
+^I^I * write to the free oob area.$
[...]

The patch is:
  http://patchwork.ozlabs.org/patch/577786/
  [PATCH v8,2/3] mtd: nand: Qualcomm NAND controller driver

and the comment text is:

  "For the last codeword, we skip the bbm positions and write to the
  free oob area."

which matches on this:

# Check for FSF mailing addresses.
                if ($rawline =~ /\bwrite to the Free/i ||

I'm just writing as recommended by the closing text of your tool.

Regards,
Brian

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

end of thread, other threads:[~2016-03-10 19:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-10 19:00 checkpatch.pl false positive: FSF mailing address Brian Norris
2016-03-10 19:08 ` Joe Perches
2016-03-10 19:15   ` Brian Norris
2016-03-10 19:25     ` Joe Perches
2016-03-10 19:28       ` Brian Norris
2016-03-10 19:34         ` Joe Perches

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