]> err.no Git - linux-2.6/commit
fix unaligned exception in /drivers/net/wireless/orinoco.c
authorHennerich, Michael <Michael.Hennerich@analog.com>
Tue, 6 Feb 2007 00:41:35 +0000 (16:41 -0800)
committerJeff Garzik <jeff@garzik.org>
Wed, 7 Feb 2007 23:49:57 +0000 (18:49 -0500)
commitdde6d43d060bf0e0f38c66f76908e460db3bf0d8
treec78e8c487e3e52abd728b1b4c0e1be36171532cf
parentf100ae2ed04d17fb450fe6e3a3780342da60acd0
fix unaligned exception in /drivers/net/wireless/orinoco.c

Prevent an unaligned exception to occur.  (GCC 4.1) tmp is defined as char
pointer while it is later accessed as short.

Cc: Jean Tourrilhes <jt@hpl.hp.com>
Cc: John W. Linville <linville@tuxdriver.com>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/wireless/orinoco.c