[lkml]   [2022]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] media: coda: Add check for kmalloc
On Do, 2022-11-17 at 15:02 +0800, Jiasheng Jiang wrote:
> As the kmalloc may return NULL pointer,
> it should be better to check the return value
> in order to avoid NULL poineter dereference,
> same as the others.
> Fixes: cb1d3a336371 ("[media] coda: add CODA7541 JPEG support")
> Signed-off-by: Jiasheng Jiang <>

Reviewed-by: Philipp Zabel <>


 \ /
  Last update: 2022-12-16 18:34    [W:0.133 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site