]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r337131, r337231: stand: efipart fixes
authorkevans <kevans@FreeBSD.org>
Thu, 21 Feb 2019 02:48:38 +0000 (02:48 +0000)
committerkevans <kevans@FreeBSD.org>
Thu, 21 Feb 2019 02:48:38 +0000 (02:48 +0000)
commitcaebe0d3f2462299181f1306de67b3feafcd02b4
tree393d03ec54c3f819c2817a1f658bb6b76bfb832d
parentc9243af12d3c57e3cdb796303947fd33c997cfc9
MFC r337131, r337231: stand: efipart fixes

r337131:
loader.efi: efipart_inithandles() failure should not prevent devsw initialization

The efipart_inithandles() can return error code when there are no block devices,
however, we still should walk and initialize devsw.

r337231:
loader.efi: clean up misleading noise from missing block devices

If there are no block devices, there is no need to printout
error (ENOENT).

In case of netboot, our image path has no block device, no need to make
noise about it.
stand/efi/loader/main.c