From: Tom Rini Date: Fri, 23 Apr 2021 12:24:35 -0400 Subject: [PATCH v2 2/3] part: Fix bogus return from part_get_info_by_dev_and_name In-Reply-To: <20210412225307.3217317-2-sean.anderson@seco.com> References: <20210412225307.3217317-1-sean.anderson@seco.com> <20210412225307.3217317-2-sean.anderson@seco.com> Message-ID: <20210423162435.GW1310@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Apr 12, 2021 at 06:53:06PM -0400, Sean Anderson wrote: > blk_get_device_by_str returns the device number on success. So we must > check if the return was negative to determine an error. > > Signed-off-by: Sean Anderson > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: