From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Tomas Winkler <tomas.winkler@intel.com>
Cc: Alexander Usyskin <alexander.usyskin@intel.com>,
linux-kernel@vger.kernel.org,
Rasmus Villemoes <linux@rasmusvillemoes.dk>
Subject: Re: [char-misc-next] mei: bus: use scnprintf in *_show
Date: Thu, 31 Mar 2016 16:43:02 -0700 [thread overview]
Message-ID: <20160331234302.GA31271@kroah.com> (raw)
In-Reply-To: <1458808684-21817-1-git-send-email-tomas.winkler@intel.com>
On Thu, Mar 24, 2016 at 10:38:04AM +0200, Tomas Winkler wrote:
> From: Rasmus Villemoes <linux@rasmusvillemoes.dk>
>
> There's no reason to duplicate the logic provided by scnprintf().
And really, there's no need for any of this, just use sprintf() for
sysfs attributes that are the size of an integer.
But I'll take this for now, just to keep people happy because "everyone
knows sprintf() should never be used"...
bah.
greg k-h
prev parent reply other threads:[~2016-03-31 23:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-24 8:38 [char-misc-next] mei: bus: use scnprintf in *_show Tomas Winkler
2016-03-31 23:43 ` Greg Kroah-Hartman [this message]
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=20160331234302.GA31271@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=alexander.usyskin@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@rasmusvillemoes.dk \
--cc=tomas.winkler@intel.com \
/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