commit | 8aeea03195ee6e33fcb00039c414eabfc37a4eb8 | [log] [tgz] |
---|---|---|
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | Fri Nov 20 10:46:49 2015 +0100 |
committer | Jens Axboe <axboe@fb.com> | Fri Nov 20 08:46:50 2015 -0700 |
tree | dfafeb55bdf6ddd18172578165a018966ae2b264 | |
parent | 604e8c8da8854351496215d269c3fa93859e3fee [diff] |
mtip32xx: use formatting capability of kthread_create_on_node 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. Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Reviewed-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Jens Axboe <axboe@fb.com>