diff options
| author | Mathieu Poirier <[email protected]> | 2018-05-09 18:06:05 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-05-14 14:19:59 +0000 |
| commit | 3606a1dcb46eee173203702b6b19cd898afa5d15 (patch) | |
| tree | 84a4fe8152e05bdd589ed814a1010c624e06f8e5 /drivers/hwtracing/coresight/coresight-cpu-debug.c | |
| parent | coresight: Moving framework and drivers to SPDX identifier (diff) | |
| download | kernel-3606a1dcb46eee173203702b6b19cd898afa5d15.tar.gz kernel-3606a1dcb46eee173203702b6b19cd898afa5d15.zip | |
coresight tmc etr: Make memory check consistent in the same function
While operating from sysFS the TMC-ETR driver needs to make sure it has
memory to work with but doesn't allocate memory uselessly either. Since
the main memory handle for this driver is drvdata::vaddr, use it throughout
function tmc_enable_etr_sink_sysfs() so that things are consistent.
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Mathieu Poirier <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/hwtracing/coresight/coresight-cpu-debug.c')
0 files changed, 0 insertions, 0 deletions
