Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: vt6656: struct vnt_tx_short_buf_head change base type of fifo_ctl to __le16

Base type is always little endian.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Malcolm Priestley and committed by
Greg Kroah-Hartman
14fb6ce8 47e08894

+2 -2
+1 -1
drivers/staging/vt6656/rxtx.c
··· 1013 1013 vnt_time_stamp_off(priv, current_rate); 1014 1014 } else { 1015 1015 current_rate = RATE_1M; 1016 - short_head->fifo_ctl |= FIFOCTL_11B; 1016 + short_head->fifo_ctl |= cpu_to_le16(FIFOCTL_11B); 1017 1017 1018 1018 /* Get SignalField,ServiceField,Length */ 1019 1019 vnt_get_phy_field(priv, frame_size, current_rate,
+1 -1
drivers/staging/vt6656/rxtx.h
··· 237 237 } __packed; 238 238 239 239 struct vnt_tx_short_buf_head { 240 - u16 fifo_ctl; 240 + __le16 fifo_ctl; 241 241 u16 time_stamp; 242 242 struct vnt_phy_field ab; 243 243 __le16 duration;