On Tue, 06 Dec 2022 15:48:19 +0800, Jiasheng Jiang wrote: > As kzalloc may fail and return NULL pointer, > it should be better to check the return value > in order to avoid the NULL pointer dereference. > > Applied, thanks! [1/1] drm/msm/mdp5: Add check for kzalloc https://gitlab.freedesktop.org/lumag/msm/-/commit/13fcfcb2a9a4 Best regards, -- Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>