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@xxxxxxxxxxx> With a nit: s/thefailure/the failure/ Reviewed-by: Tzung-Bi Shih <tzungbi@xxxxxxxxxx>