diff options
| author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2021-11-30 13:28:42 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2021-11-30 16:08:12 +0300 |
| commit | 043c0a6278ca443b1835726239dc2814c1313a9e (patch) | |
| tree | 24afc49aa0faac3128b4d743b2afefac7d01a48e /tools/perf/scripts/python/syscall-counts.py | |
| parent | 10b155fd413d31c89057986d0fc3d4ceef8e0e9f (diff) | |
| download | linux-043c0a6278ca443b1835726239dc2814c1313a9e.tar.xz | |
firmware: cs_dsp: Move lockdep asserts to avoid potential null pointer
Move the lockdep asserts until after the ctl pointer has been checked
for NULL, to avoid potentially NULL pointer dereferences.
Fixes: fb2f364fb5b9 ("firmware: cs_dsp: Add lockdep asserts to interface functions")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20211130102842.26410-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
