aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorDaniel Glöckner <[email protected]>2009-06-11 14:36:29 +0100
committerLinus Torvalds <[email protected]>2009-06-11 08:51:08 -0700
commit26bbb3ff1ff6163d6a233055766e26af8054a212 (patch)
treeba50f720a04c0fd3a34bb8a29c362d24c8585b03 /net/lapb/lapb_in.c
parentd3810cd4d7064b109574374f73c41b11b481dbf2 (diff)
imx: serial: fix one bit field type
"have_rtscts" is assigned 1, while it is declared int:1, two's complement, which can hold 0 and -1 only. The code works, as the upper bits are cut off, and tests are done against 0 only. Nonetheless, correctly declaring the bit field as unsigned int:1 renders the code more robust. Signed-off-by: Daniel Glöckner <[email protected]> Signed-off-by: Oskar Schirmer <[email protected]> Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions