diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-02-08 10:24:02 +0000 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-02-08 11:16:48 +0000 |
| commit | 43df81d324cdd7056ad0ce3df709aff8dce856b7 (patch) | |
| tree | c82e3f7e0a0e657062fb8cc3812e27849b6b2373 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | drm/i915: do not stop engines on sanitize if i915.reset=0 (diff) | |
| download | linux-43df81d324cdd7056ad0ce3df709aff8dce856b7.tar.gz linux-43df81d324cdd7056ad0ce3df709aff8dce856b7.zip | |
drm/i915/perf: Fix compiler warning for string truncation
drivers/gpu/drm/i915/i915_oa_cflgt3.c: In function ‘i915_perf_load_test_config_cflgt3’:
drivers/gpu/drm/i915/i915_oa_cflgt3.c:87:2: error: ‘strncpy’ output truncated before terminating nul copying 36 bytes from a string of the same length [-Werror=stringop-truncation]
v2: strlcpy
Fixes: 4407eaa9b0cc ("drm/i915/perf: add support for Coffeelake GT3")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180208102403.5587-1-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
