diff options
| author | Viresh Kumar <[email protected]> | 2021-02-22 07:18:06 +0000 |
|---|---|---|
| committer | Jassi Brar <[email protected]> | 2021-02-22 19:34:27 +0000 |
| commit | 6b50df2b8c208a04d44b8df5b7baaf668ceb8fc3 (patch) | |
| tree | de9a12d880c8ca9b212cdbc007ed88edcf858ef4 /scripts/mod/file2alias.c | |
| parent | mailbox: tegra-hsp: Set lockdep class dynamically (diff) | |
| download | kernel-6b50df2b8c208a04d44b8df5b7baaf668ceb8fc3.tar.gz kernel-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 <[email protected]> # v5.11
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Viresh Kumar <[email protected]>
Signed-off-by: Jassi Brar <[email protected]>
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions
