diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2015-11-20 10:46:49 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-11-20 08:46:50 -0700 |
commit | 8aeea03195ee6e33fcb00039c414eabfc37a4eb8 (patch) | |
tree | dfafeb55bdf6ddd18172578165a018966ae2b264 /block/partitions | |
parent | 604e8c8da8854351496215d269c3fa93859e3fee (diff) | |
download | linux-8aeea03195ee6e33fcb00039c414eabfc37a4eb8.tar.bz2 |
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>
Diffstat (limited to 'block/partitions')
0 files changed, 0 insertions, 0 deletions