On Fri, 2018-05-18 at 10:50 -0700, Joe Perches wrote:
> and a trivial script to convert them all treewide
>
> $ git grep -P --name-only
> '\b(?:seq_puts|seq_printf)\s*\(\s*[^,]+,\s*"(?:\\.|.)"\s*\)\s*;' | \
> xargs perl -i -e 'local $/; while (<>) {
>
On Fri, 2018-05-18 at 10:50 -0700, Joe Perches wrote:
> and a trivial script to convert them all treewide
>
> $ git grep -P --name-only
> '\b(?:seq_puts|seq_printf)\s*\(\s*[^,]+,\s*"(?:\\.|.)"\s*\)\s*;' | \
> xargs perl -i -e 'local $/; while (<>) {
>
On Fri, 2018-05-18 at 07:09 -0700, Matthew Wilcox wrote:
> 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
On Fri, 2018-05-18 at 07:09 -0700, Matthew Wilcox wrote:
> 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
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.
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.
6 matches
Mail list logo