mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* checkpatch: FSF address check too trigger-happy
@ 2026-02-16  6:07 Uwe Kleine-König
  0 siblings, 0 replies; only message in thread
From: Uwe Kleine-König @ 2026-02-16  6:07 UTC (permalink / raw)
  To: Andy Whitcroft, Joe Perches
  Cc: Dwaipayan Ray, Lukas Bulwahn, Helge Deller, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1565 bytes --]

Hello,

for commit adf4d56760409c23e3fe50d22f728a93a509734e that currently sits
in

	https://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev.git for-next

checkpatch says:

	$ scripts/checkpatch.pl -g adf4d56760409c23e3fe50d22f728a93a509734e^!
	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.
	#30: FILE: drivers/video/fbdev/au1100fb.c:42:
	  *  675 Mass Ave, Cambridge, MA 02139, USA.$

	total: 1 errors, 0 warnings, 159 lines checked

	NOTE: For some of the reported defects, checkpatch may be able to
	      mechanically convert to the typical style using --fix or --fix-inplace.

	Commit adf4d5676040 ("fbdev: au1100fb: Replace custom printk wrappers by pr_*") has style problems, please review.

	NOTE: If any of the errors are false positives, please report
	      them to the maintainer, see CHECKPATCH in MAINTAINERS.

Given that this commit doesn't touch the license comments and only has
the address in the patch context, I think it shouldn't trigger.

I also think that

	ERROR: "(foo*)" should be "(foo *)"
	#94: FILE: drivers/video/fbdev/au1100fb.c:439:
	+	fbdev->regs = (struct au1100fb_regs*)KSEG1ADDR(fbdev->info.fix.mmio_start);

on ba15cdea3f7dbaf4dfbb840a5ed6609bdd8b37dc (in the same tree) should be
at most a warning, given that there is also

	-       fbdev->regs = (struct au1100fb_regs*)KSEG1ADDR(au1100fb_fix.mmio_start);

.

Best regards
Uwe

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

only message in thread, other threads:[~2026-02-16  6:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-16  6:07 checkpatch: FSF address check too trigger-happy 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

all inboxes | Powered by JetHome®