Bjorn Helgaas 0b2d70764b x86/PCI: Fix Broadcom CNB20LE unintended sign extension
In the expression "word1 << 16", word1 starts as u16, but is promoted to
a signed int, then sign-extended to resource_size_t, which is probably
not what was intended.  Cast to resource_size_t to avoid the sign
extension.

Found by Coverity (CID 138749, 138750).

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
2014-04-25 11:01:08 -06:00
..
2013-11-09 00:16:29 -05:00
2014-04-01 17:08:42 +02:00
2014-03-11 10:16:18 -07:00
2014-03-04 16:17:17 +00:00