diff options
| author | Bjorn Helgaas <[email protected]> | 2014-04-25 11:01:08 -0600 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2014-04-25 11:01:08 -0600 |
| commit | 0b2d70764bb39242dcc49c0ebd10fcb8258ce5fa (patch) | |
| tree | bf37d69370a9789abf725e022e2c5c39b40c4a3b /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | c9eaa447e77efe77b7fa4c953bd62de8297fd6c5 (diff) | |
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 <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions