PCI: Set ->mask_pos correctly
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 30 Apr 2013 07:44:54 +0000 (10:44 +0300)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 30 Apr 2013 15:49:19 +0000 (08:49 -0700)
commite5f66eafe5a4c678965a2138b92b645c2c0c4d10
treecdeb95f80df8b5f282d5c5301f59f455664ea44e
parentab86e974f04b1cd827a9c7c35273834ebcd9ab38
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>
drivers/pci/msi.c