[PATCH v2] part: return -ENOSYS when get_info not valid.

Tom Rini trini at konsulko.com
Fri Nov 19 00:26:47 CET 2021

On Wed, Oct 20, 2021 at 08:15:55PM +0800, schspa 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>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20211118/4928b249/attachment.sig>

More information about the U-Boot mailing list