irda: Fix a misalign access issue. (v2)
Replace u16ho with put/get_unaligned functions Signed-off-by: Graf Yang <graf.yang@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
c1cc678ada
commit
332223831e
@@ -57,9 +57,6 @@ typedef union {
|
||||
__u8 byte[2];
|
||||
} __u16_host_order;
|
||||
|
||||
/* Same purpose, different application */
|
||||
#define u16ho(array) (* ((__u16 *) array))
|
||||
|
||||
/* Types of discovery */
|
||||
typedef enum {
|
||||
DISCOVERY_LOG, /* What's in our discovery log */
|
||||
|
Reference in New Issue
Block a user