Searched hist:"043 c0a6278ca443b1835726239dc2814c1313a9e" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/firmware/cirrus/ |
H A D | cs_dsp.c | diff 043c0a6278ca443b1835726239dc2814c1313a9e Tue Nov 30 11:28:42 CET 2021 Charles Keepax <ckeepax@opensource.cirrus.com> 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>
|