06/07/2022 11:07, Bruce Richardson: > On Wed, Jul 06, 2022 at 02:55:48PM +0800, [email protected] wrote: > > From: Shiqi Liu <[email protected]> > > > > As the possible failure of the malloc(), the not_checked and > > checked could be NULL pointer. > > Therefore, it should be better to check it in order to avoid > > the dereference of the NULL pointer. > > > > Fixes: b7aaf417f93 ("raw/ioat: add bus driver for device scanning > > automatically") > > Signed-off-by: Shiqi Liu <[email protected]> > > --- > Acked-by: Bruce Richardson <[email protected]>
Applied, thanks.

