diff options
author | Mark Brown <broonie@kernel.org> | 2015-04-10 09:25:37 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-18 12:56:15 -0700 |
commit | f5da7cb24b78f2398c80a3ba25438602a68fc3e4 (patch) | |
tree | a15ec43632c5e91ae8ab148c9a37f73e95e10bf2 /drivers/hwtracing/coresight/coresight-etm4x.h | |
parent | cc5454490b514a87ccf99fce7ee224cc95980d99 (diff) | |
download | blackbird-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