diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-04-30 11:44:54 +0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-04-30 19:49:19 +0400 |
commit | e5f66eafe5a4c678965a2138b92b645c2c0c4d10 (patch) | |
tree | cdeb95f80df8b5f282d5c5301f59f455664ea44e /drivers/pci/remove.c | |
parent | ab86e974f04b1cd827a9c7c35273834ebcd9ab38 (diff) | |
download | linux-e5f66eafe5a4c678965a2138b92b645c2c0c4d10.tar.xz |
PCI: Set ->mask_pos correctly
The "+" operation has higher precedence than "?:" and ->msi_cap is
always non-zero here so the original statement is equivalent to:
entry->mask_pos = PCI_MSI_MASK_64;
Which wasn't the intent.
[bhelgaas: my fault from 78b5a310ce]
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/remove.c')
0 files changed, 0 insertions, 0 deletions