[PATCH] arm64/sme: Fix NULL check after kzalloc

Mark Brown broonie at kernel.org
Tue Apr 26 04:45:18 PDT 2022


On Tue, Apr 26, 2022 at 07:30:53PM +0800, Wan Jiabing wrote:
> Fix following coccicheck error:
> ./arch/arm64/kernel/process.c:322:2-23: alloc with no test, possible model on line 326
> 
> Here should be dst->thread.sve_state.

Reviwed-by: Mark Brown <broonie at kernel.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20220426/a19d01a2/attachment.sig>


More information about the linux-arm-kernel mailing list