aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorRasmus Villemoes <[email protected]>2015-11-20 10:46:49 +0100
committerJens Axboe <[email protected]>2015-11-20 08:46:50 -0700
commit8aeea03195ee6e33fcb00039c414eabfc37a4eb8 (patch)
treedfafeb55bdf6ddd18172578165a018966ae2b264 /net/lapb/lapb_iface.c
parent604e8c8da8854351496215d269c3fa93859e3fee (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 <[email protected]> Reviewed-by: Jeff Moyer <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions