mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* seq_putc is preferable to seq_puts
@ 2018-05-18 14:09 Matthew Wilcox
  2018-05-18 17:50 ` Joe Perches
  0 siblings, 1 reply; 3+ messages in thread
From: Matthew Wilcox @ 2018-05-18 14:09 UTC (permalink / raw)
  To: Joe Perches; +Cc: linux-kernel


Hi Joe,

A nice checkpatch addition would be to look for seq_puts(x, "s")
and recommend the author use seq_putc(x, 's') instead.  The primary
offender is seq_puts(x, "\n") (a hundred or so, scattered throughout
the kernel), but seq_puts(x, " ") has its adherents too.

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

end of thread, other threads:[~2018-05-18 18:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-18 14:09 seq_putc is preferable to seq_puts Matthew Wilcox
2018-05-18 17:50 ` Joe Perches
2018-05-18 18:35   ` Joe Perches

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®