diff options
author | 2021-02-22 12:48:06 +0530 | |
---|---|---|
committer | 2021-02-22 13:34:27 -0600 | |
commit | 6b50df2b8c208a04d44b8df5b7baaf668ceb8fc3 (patch) | |
tree | de9a12d880c8ca9b212cdbc007ed88edcf858ef4 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | mailbox: tegra-hsp: Set lockdep class dynamically (diff) | |
download | wireguard-linux-6b50df2b8c208a04d44b8df5b7baaf668ceb8fc3.tar.xz wireguard-linux-6b50df2b8c208a04d44b8df5b7baaf668ceb8fc3.zip |
mailbox: arm_mhuv2: Skip calling kfree() with invalid pointer
It is possible that 'data' passed to kfree() is set to a error value
instead of allocated space. Make sure it doesn't get called with invalid
pointer.
Fixes: 5a6338cce9f4 ("mailbox: arm_mhuv2: Add driver")
Cc: v5.11 <stable@vger.kernel.org> # v5.11
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions