The patch titled Subject: lib/test_firmware.c: fix error return getting clobbered has been removed from the -mm tree. Its filename was test_firmware-fix-error-return-getting-clobbered.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Colin Ian King <colin.king@xxxxxxxxxxxxx> Subject: lib/test_firmware.c: fix error return getting clobbered In the case where eq->fw->size > PAGE_SIZE the error return rc is being set to EINVAL however this is being overwritten to rc = req->fw->size because the error exit path via label 'out' is not being taken. Fix this by adding the jump to the error exit path 'out'. Detected by CoverityScan, CID#1453465 ("Unused value") Link: http://lkml.kernel.org/r/20181019125801.4544-1-colin.king@xxxxxxxxxxxxx Fixes: c92316bf8e94 ("test_firmware: add batched firmware tests") Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx> Reviewed-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Cc: Wei Yongjun <weiyongjun1@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- lib/test_firmware.c | 1 + 1 file changed, 1 insertion(+) --- a/lib/test_firmware.c~test_firmware-fix-error-return-getting-clobbered +++ a/lib/test_firmware.c @@ -837,6 +837,7 @@ static ssize_t read_firmware_show(struct if (req->fw->size > PAGE_SIZE) { pr_err("Testing interface must use PAGE_SIZE firmware for now\n"); rc = -EINVAL; + goto out; } memcpy(buf, req->fw->data, req->fw->size); _ Patches currently in -mm which might be from colin.king@xxxxxxxxxxxxx are