Messages in this thread | | | From | Bart Van Assche <> | Date | Fri, 15 Jul 2011 12:04:22 +0200 | Subject | Re: [PATCH 03/11] dynamic_debug: Remove uses of KERN_CONT in dynamic_emit_prefix |
| |
On Thu, Jul 14, 2011 at 6:09 PM, Jason Baron <jbaron@redhat.com> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |