Re: [PATCH] mtip32xx: use formatting capability of kthread_create_on_node

From: Jens Axboe
Date: Fri Nov 20 2015 - 13:36:05 EST

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@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at