diff options
author | Prashant Bhole <bhole_prashant_q7@lab.ntt.co.jp> | 2017-12-06 02:47:04 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-06 21:02:48 +0100 |
commit | d9b8693783e8a1ce8e4495d13d1dd6d8081f5070 (patch) | |
tree | 2f9855e0ae6940edff0ac5fe79182b1672a6fedf /include | |
parent | act_mirred: get rid of mirred_list_lock spinlock (diff) | |
download | linux-d9b8693783e8a1ce8e4495d13d1dd6d8081f5070.tar.xz linux-d9b8693783e8a1ce8e4495d13d1dd6d8081f5070.zip |
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 <bhole_prashant_q7@lab.ntt.co.jp>
Acked-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions