aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2017-05-11 09:41:20 +0000
committerJohan Hovold <[email protected]>2017-05-15 09:51:15 +0000
commit26cede343656c0bc2c33cdc783771282405c7fb2 (patch)
treea3f6d25d62b373a84fc8fdf1cc76cdac27ad8c73 /scripts/gcc-plugins/randomize_layout_plugin.c
parentUSB: serial: ir-usb: fix big-endian baud-rate debug printk (diff)
downloadkernel-26cede343656c0bc2c33cdc783771282405c7fb2.tar.gz
kernel-26cede343656c0bc2c33cdc783771282405c7fb2.zip
USB: serial: mct_u232: fix big-endian baud-rate handling
Drop erroneous cpu_to_le32 when setting the baud rate, something which corrupted the divisor on big-endian hosts. Found using sparse: warning: incorrect type in argument 1 (different base types) expected unsigned int [unsigned] [usertype] val got restricted __le32 [usertype] <noident> Fixes: af2ac1a091bc ("USB: serial mct_usb232: move DMA buffers to heap") Cc: stable <[email protected]> # 2.6.34 Reviewed-by: Greg Kroah-Hartman <[email protected]> Acked-By: Pete Zaitcev <[email protected]> Signed-off-by: Johan Hovold <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions