On Wed, 20 Oct 2021 at 06:16, schspa <schspa at gmail.com> wrote: > > In some case, get_info() interface can be NULL, add this check to stop > from crash. > > Signed-off-by: schspa <schspa at gmail.com> > --- > disk/part.c | 7 +++++++ > 1 file changed, 7 insertions(+) > Reviewed-by: Simon Glass <sjg at chromium.org>