[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180518140957.GB6361@bombadil.infradead.org>
Date: Fri, 18 May 2018 07:09:57 -0700
From: Matthew Wilcox <willy@...radead.org>
To: Joe Perches <joe@...ches.com>
Cc: linux-kernel@...r.kernel.org
Subject: seq_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.
Powered by blists - more mailing lists