diff options
author | Zhiqiang Liu <liuzhiqiang26@huawei.com> | 2020-03-30 10:18:33 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-02 08:48:55 +0200 |
commit | 16976275b92992a7f86d91d86d341eefc9bade15 (patch) | |
tree | 9bf0504da1bb0d55106037addc06967e0dde08c3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f88761412b90aaae8dbd03ee3f75385fca04fb53 (diff) |
signal: check sig before setting info in kill_pid_usb_asyncio
[ Upstream commit eaec2b0bd30690575c581eebffae64bfb7f684ac ]
In kill_pid_usb_asyncio, if signal is not valid, we do not need to
set info struct.
Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Link: https://lore.kernel.org/r/f525fd08-1cf7-fb09-d20c-4359145eb940@huawei.com
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions