Greg Howard <[EMAIL PROTECTED]> writes: > On Thu, 10 Mar 2005, Andreas Schwab wrote: > >> >> Or even better: replace scdrv_buffer_to_int by be32_to_cpup. > > Sounds like a good idea. Will be32_to_cpup work if the > argument isn't word-aligned?
Probably not, ie. it will result in an unaligned access. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] 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 [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
