From: Jens Axboe <axboe@fb.com>
To: Rasmus Villemoes <linux@rasmusvillemoes.dk>,
Asai Thambi SP <asamymuthupa@micron.com>,
Jeff Moyer <jmoyer@redhat.com>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] mtip32xx: use formatting capability of kthread_create_on_node
Date: Fri, 20 Nov 2015 11:35:55 -0700 [thread overview]
Message-ID: <564F680B.2060301@fb.com> (raw)
In-Reply-To: <1448012809-15462-1-git-send-email-linux@rasmusvillemoes.dk>
On 11/20/2015 02:46 AM, Rasmus Villemoes wrote:
> kthread_create_on_node takes format+args, so there's no need to do the
> pretty-printing in advance. Moreover, "mtip_svc_thd_99" (including its
> '\0') only just fits in 16 bytes, so if index could ever go above 99
> we'd have a stack buffer overflow.
Applied, thanks.
--
Jens Axboe
prev parent reply other threads:[~2015-11-20 18:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-20 9:46 [PATCH] mtip32xx: use formatting capability of kthread_create_on_node Rasmus Villemoes
2015-11-20 15:29 ` Jeff Moyer
2015-11-20 18:35 ` Jens Axboe [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=564F680B.2060301@fb.com \
--to=axboe@fb.com \
--cc=asamymuthupa@micron.com \
--cc=jmoyer@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@rasmusvillemoes.dk \
/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