lkml.org 
[lkml]   [2018]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectseq_putc is preferable to seq_puts

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.

\
 
 \ /
  Last update: 2018-05-18 16:10    [W:0.030 / U:0.116 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site