diff options
| author | Fengguang Wu <fengguang.wu@intel.com> | 2018-01-12 17:03:39 +0000 |
|---|---|---|
| committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2018-01-12 17:40:29 +0000 |
| commit | 4c501230846b99ad78435637500471caa77a65c8 (patch) | |
| tree | 54ff5832c5bf3b705a38bbf0fea9e0440d945cbc /tools/perf/scripts/python | |
| parent | drm/i915/pmu: Reconstruct active state on starting busy-stats (diff) | |
| download | linux-4c501230846b99ad78435637500471caa77a65c8.tar.gz linux-4c501230846b99ad78435637500471caa77a65c8.zip | |
drm/i915/pmu: fix noderef.cocci warnings
drivers/gpu/drm/i915/i915_pmu.c:795:34-40: ERROR: application of sizeof to pointer
sizeof when applied to a pointer typed expression gives the size of
the pointer
Generated by: scripts/coccinelle/misc/noderef.cocci
Fixes: 109ec558370f ("drm/i915/pmu: Only enumerate available counters in sysfs")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180112170340.5387-1-tvrtko.ursulin@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
