Messages in this thread | | | Date | Wed, 15 Dec 2021 13:55:47 +0800 | From | Tzung-Bi Shih <> | Subject | Re: [PATCH v2] media: mtk-vcodec: potential dereference of null pointer |
| |
On Wed, Dec 15, 2021 at 01:21:57PM +0800, Jiasheng Jiang wrote: > The return value of devm_kzalloc() needs to be checked. > To avoid use of null pointer in case of thefailure of alloc. > > Fixes: 46233e91fa24 ("media: mtk-vcodec: move firmware implementations into their own files") > Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
With a nit: s/thefailure/the failure/
Reviewed-by: Tzung-Bi Shih <tzungbi@google.com>
| |