diff options
author | Pawel Moll <pawel.moll@arm.com> | 2014-07-31 17:16:37 +0200 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2014-08-01 05:46:57 +0200 |
commit | 3e528cb7bae00ba0d73def6645d0f2fa906ee3e8 (patch) | |
tree | f6b31134fdf241f9b1f371faf84a951aed00bc8a /Documentation/efi-stub.txt | |
parent | Merge tag 'omap-for-v3.17/mailbox-cleanup' of git://git.kernel.org/pub/scm/li... (diff) | |
download | linux-3e528cb7bae00ba0d73def6645d0f2fa906ee3e8.tar.xz linux-3e528cb7bae00ba0d73def6645d0f2fa906ee3e8.zip |
bus: arm-ccn: Fix error handling at event allocation
The bitfield allocation function returns error condition
as a negative value, but in two cases its result
was assigned to an unsigned member of the hw_perf_event
structure, thus the error would not be ever detected.
Fixed by using an intermediate, signed variable.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'Documentation/efi-stub.txt')
0 files changed, 0 insertions, 0 deletions