Re: [PATCH 2.6.13-rc3] fix unaligned memory access in snsc_event.c

From: Andreas Schwab <schwab_at_suse.de>
Date: 2005-07-27 03:26:35
Greg Howard <ghoward@sgi.com> writes:

> I've added a new function to the file that copies a (big-endian)
> integer out of a byte buffer and into a little-endian integer
> variable.

How about using get_unaligned?

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Tue Jul 26 13:32:20 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:40 EST