From: Daniel Glöckner Date: Thu, 11 Jun 2009 13:36:29 +0000 (+0100) Subject: imx: serial: fix one bit field type X-Git-Tag: v2.6.31-rc1~399^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26bbb3ff1ff6163d6a233055766e26af8054a212;p=pandora-kernel.git 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 Signed-off-by: Oskar Schirmer Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed