Re: [PATCH 03/11] dynamic_debug: Remove uses of KERN_CONT in dynamic_emit_prefix
From: Bart Van Assche
Date: Fri Jul 15 2011 - 06:04:48 EST
On Thu, Jul 14, 2011 at 6:09 PM, Jason Baron <jbaron@xxxxxxxxxx> wrote:
> + char tid[sizeof(int) + sizeof(int)/2 + 4];
> + char lineno[sizeof(int) + sizeof(int)/2];
It's not clear to me where the array bounds come from ? Also, why
sizeof(int) + sizeof(int)/2 instead of sizeof(int)*3 + 1 ?
Bart.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/