Re: [PATCH] printk: correctly align __log_buf

From: Greg Kroah-Hartman
Date: Thu May 10 2012 - 18:39:31 EST


On Thu, May 10, 2012 at 04:14:33PM -0600, Stephen Warren wrote:
> From: Stephen Warren <swarren@xxxxxxxxxx>
>
> __log_buf must be aligned, because a 64-bit value is written directly
> to it as part of struct log. Alignment of the log entries is typically
> handled by log_store(), but this only triggers for subsequent entries,
> not the very first (or wrapped) entries.

Thanks for tracking this down and fixing it, much appreciated. I've
applied your patch now.

greg k-h
--
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/