diff options
author | Prashant Bhole <[email protected]> | 2017-12-06 10:47:04 +0900 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-12-06 15:02:48 -0500 |
commit | d9b8693783e8a1ce8e4495d13d1dd6d8081f5070 (patch) | |
tree | 2f9855e0ae6940edff0ac5fe79182b1672a6fedf /tools/perf/scripts/python/intel-pt-events.py | |
parent | 4bee00eb25a7b487706d17926db4679ae8f0e411 (diff) |
rds: debug: fix null check on static array
t_name cannot be NULL since it is an array field of a struct.
Replacing null check on static array with string length check using
strnlen()
Signed-off-by: Prashant Bhole <[email protected]>
Acked-by: Sowmini Varadhan <[email protected]>
Acked-by: Santosh Shilimkar <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions