netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "George Spelvin" <linux@horizon.com>
To: jslaby@suse.cz, keescook@chromium.org,
	penguin-kernel@I-love.SAKURA.ne.jp
Cc: akpm@linux-foundation.org, dan.carpenter@oracle.com,
	geert@linux-m68k.org, JBeulich@suse.com, joe@perches.com,
	kosaki.motohiro@gmail.com, linux-kernel@vger.kernel.org,
	linux-sctp@vger.kernel.org, linux@horizon.com,
	netdev@vger.kernel.org, remi.denis-courmont@nokia.com,
	viro@zeniv.linux.org.uk, xemul@openvz.org
Subject: Re: [PATCH 1/2] remove all uses of printf's %n
Date: 22 Sep 2013 04:09:59 -0400	[thread overview]
Message-ID: <20130922080959.384.qmail@science.horizon.com> (raw)
In-Reply-To: <201309210928.JCF90671.OtOFLFQSOJVFMH@I-love.SAKURA.ne.jp>

> If you want, we can rename seq_pad() to seq_pad_and_putc(). Also we can pass
> both the padding character (e.g. ' ') and the trailing character (e.g. '\n')
> like seq_pad_and_putc((' ' << 8) | '\n'), though I wonder someone wants to
> use '\0', '\t', '\n' etc. as the padding character...

How about let that complexity wait until it's needed?  It's not like
it's that big a PITA of a patch to write, and there's a significant
chance it will *never* be needed.

  reply	other threads:[~2013-09-22  8:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAGXu5jL+NeBw2_vXymM81UdtS6UO7KZA2S4rf3gwM_7nSJ2h6g@mail.gmail.com>
     [not found] ` <20130917205742.16147.qmail@science.horizon.com>
     [not found]   ` <201309191756.BCF65661.MQFOLSJOFHFtOV@I-love.SAKURA.ne.jp>
     [not found]     ` <CAGXu5jK_D1BJOQr=1A-UFrpM5Ad+Qu894HT_XjkZh4EmsbCkTQ@mail.gmail.com>
2013-09-20  4:09       ` [PATCH 1/2] remove all uses of printf's %n Tetsuo Handa
2013-09-20  4:23         ` Joe Perches
2013-09-20  4:53           ` Kees Cook
2013-09-20  8:08         ` Jiri Slaby
2013-09-20 19:24           ` Kees Cook
2013-09-20 19:33             ` Joe Perches
2013-09-21  0:28             ` Tetsuo Handa
2013-09-22  8:09               ` George Spelvin [this message]
2013-09-22  8:16               ` Geert Uytterhoeven
2013-09-23 21:24         ` Kees Cook
2013-09-30  8:16           ` Tetsuo Handa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130922080959.384.qmail@science.horizon.com \
    --to=linux@horizon.com \
    --cc=JBeulich@suse.com \
    --cc=akpm@linux-foundation.org \
    --cc=dan.carpenter@oracle.com \
    --cc=geert@linux-m68k.org \
    --cc=joe@perches.com \
    --cc=jslaby@suse.cz \
    --cc=keescook@chromium.org \
    --cc=kosaki.motohiro@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sctp@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=penguin-kernel@I-love.SAKURA.ne.jp \
    --cc=remi.denis-courmont@nokia.com \
    --cc=viro@zeniv.linux.org.uk \
    --cc=xemul@openvz.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).