aboutsummaryrefslogtreecommitdiff
path: root/scripts/headers.sh
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2015-07-14 11:41:31 -0500
committerMoyster <oysterized@gmail.com>2016-08-26 19:59:39 +0200
commita41967bf59c903d771c7ef09f732fc3da41578ab (patch)
tree4563490eafe2d7163235b0b0dda810f50991b1f5 /scripts/headers.sh
parentbcc3366fe5c401663abae013d94a65cfe32e9810 (diff)
ipr: Fix incorrect trace indexing
commit bb7c54339e6a10ecce5c4961adf5e75b3cf0af30 upstream. When ipr's internal driver trace was changed to an atomic, a signed/unsigned bug slipped in which results in us indexing backwards in our memory buffer writing on memory that does not belong to us. This patch fixes this by removing the modulo and instead just mask off the low bits. Tested-by: Wen Xiong <wenxiong@linux.vnet.ibm.com> Reviewed-by: Wen Xiong <wenxiong@linux.vnet.ibm.com> Reviewed-by: Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com> Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: James Bottomley <JBottomley@Odin.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Stefan Guendhoer <stefan@guendhoer.com>
Diffstat (limited to 'scripts/headers.sh')
0 files changed, 0 insertions, 0 deletions