summaryrefslogtreecommitdiffstats
path: root/block/partitions
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2015-11-20 10:46:49 +0100
committerJens Axboe <axboe@fb.com>2015-11-20 08:46:50 -0700
commit8aeea03195ee6e33fcb00039c414eabfc37a4eb8 (patch)
treedfafeb55bdf6ddd18172578165a018966ae2b264 /block/partitions
parent604e8c8da8854351496215d269c3fa93859e3fee (diff)
downloadlinux-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