summaryrefslogtreecommitdiffstats
path: root/drivers/video/display
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2008-04-16 21:09:25 -0700
committerRoland Dreier <rolandd@cisco.com>2008-04-16 21:09:25 -0700
commit782203884eea5f610444bcf4ed1b4af0010911eb (patch)
tree0fa59c5ee52e0de3666b65953db2bd00623205e8 /drivers/video/display
parent10a8c3cd0157948ba421b3b69b89edfba6ddb4a5 (diff)
downloadkernel-crypto-782203884eea5f610444bcf4ed1b4af0010911eb.tar.gz
kernel-crypto-782203884eea5f610444bcf4ed1b4af0010911eb.tar.xz
kernel-crypto-782203884eea5f610444bcf4ed1b4af0010911eb.zip
IB/ipath: Fix PCI config write size used to clear linkctrl error bits
In slave_or_pri_blk(), pci_write_config_byte() is used to write a 16-bit quantity to clear linkctrl CRC error bits. This is clearly a bug and also causes the warning drivers/infiniband/hw/ipath/ipath_iba6110.c: In function 'slave_or_pri_blk': drivers/infiniband/hw/ipath/ipath_iba6110.c:849: warning: overflow in implicit constant conversion Fix this by using pci_write_config_word() instead. Acked-by: Ralph Campbell <ralph.campbell@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/video/display')
0 files changed, 0 insertions, 0 deletions