git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab86e97
)
PCI: Set ->mask_pos correctly
author
Dan Carpenter
<dan.carpenter@oracle.com>
Tue, 30 Apr 2013 07:44:54 +0000
(10:44 +0300)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Tue, 30 Apr 2013 15:49:19 +0000
(08:49 -0700)
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>
No differences found