linux/drivers/hwtracing/coresight
Mark Brown f5da7cb24b 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>
2015-05-18 12:56:15 -07:00
..
coresight-etb10.c coresight: etb10: Fix check for bogus buffer depth 2015-05-18 12:56:15 -07:00
coresight-etm3x.c
coresight-etm-cp14.c
coresight-etm.h
coresight-funnel.c
coresight-priv.h
coresight-replicator.c
coresight-tmc.c
coresight-tpiu.c
coresight.c
Kconfig
Makefile
of_coresight.c