Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1274341
| From | Jens Axboe <axboe@fb.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] mtip32xx: use formatting capability of kthread_create_on_node |
| Date | 2015-11-20 19:40 +0100 |
| Message-ID | <qwYLg-2tX-9@gated-at.bofh.it> (permalink) |
| References | <qwQum-5rq-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] mtip32xx: use formatting capability of kthread_create_on_node Rasmus Villemoes <linux@rasmusvillemoes.dk> - 2015-11-20 10:50 +0100 Re: [PATCH] mtip32xx: use formatting capability of kthread_create_on_node Jeff Moyer <jmoyer@redhat.com> - 2015-11-20 16:40 +0100 Re: [PATCH] mtip32xx: use formatting capability of kthread_create_on_node Jens Axboe <axboe@fb.com> - 2015-11-20 19:40 +0100
csiph-web