summaryrefslogtreecommitdiffstats
path: root/drivers/hwtracing/coresight/coresight-etm4x.h
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2015-04-10 09:25:37 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-18 12:56:15 -0700
commitf5da7cb24b78f2398c80a3ba25438602a68fc3e4 (patch)
treea15ec43632c5e91ae8ab148c9a37f73e95e10bf2 /drivers/hwtracing/coresight/coresight-etm4x.h
parentcc5454490b514a87ccf99fce7ee224cc95980d99 (diff)
downloadblackbird-obmc-linux-f5da7cb24b78f2398c80a3ba25438602a68fc3e4.tar.gz
blackbird-obmc-linux-f5da7cb24b78f2398c80a3ba25438602a68fc3e4.zip
coresight: etb10: Fix check for bogus buffer depth
We attempt to sanity check the buffer depth reported by the hardware by making sure it is not less than zero however this check will never be true since the buffer depth is stored in an unsigned integer. Instead change the check to look for the top bit being set which was the intention. Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwtracing/coresight/coresight-etm4x.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud