From cbfc6dbd231828b0327583447f5192334ebd4101 Mon Sep 17 00:00:00 2001 From: Bill Richardson Date: Fri, 27 Jan 2012 10:45:02 -0800 Subject: [PATCH] Oops. Must still distinguish "no disks" from "no valid disks". The fix for chrome-os-partner:7715 introduced a new bug. This fixes that. BUG=chrome-os-partner:7775 TEST=manual Boot into recovery mode. Insert invalid USB. You should see the YUCK screen. Change-Id: I868287eecd34bb0c48127bee04f573b418f5945c Reviewed-on: https://gerrit.chromium.org/gerrit/14963 Commit-Ready: Bill Richardson Tested-by: Bill Richardson Reviewed-by: Stefan Reinauer --- firmware/lib/vboot_api_kernel.c | 1 - 1 file changed, 1 deletion(-) diff --git a/firmware/lib/vboot_api_kernel.c b/firmware/lib/vboot_api_kernel.c index bcb3d2323d..3df978f688 100644 --- a/firmware/lib/vboot_api_kernel.c +++ b/firmware/lib/vboot_api_kernel.c @@ -96,7 +96,6 @@ uint32_t VbTryLoadKernel(VbCommonParams* cparams, LoadKernelParams* p, /* If we didn't succeed, don't return a disk handle */ if (VBERROR_SUCCESS != retval) { VbSetRecoveryRequest(VBNV_RECOVERY_RW_NO_DISK); - retval = VBERROR_NO_DISK_FOUND; p->disk_handle = NULL; }