From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 21ACCC169C4 for ; Fri, 8 Feb 2019 12:01:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DA85F218DA for ; Fri, 8 Feb 2019 12:01:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549627264; bh=lLBhPv+avFlW//BHo/1GMGTs1ULpwcjMBQtktLa17wo=; h=Subject:To:From:Date:List-ID:From; b=NmWdNBdaY2uA0RnRRi7C54JdnvKwajEASVIjvHf430pguWF4bKNSi3u+vsjTk2oE4 SAY9vqUOJ2DV1UzENc0dAfgePCXnT4N+Zwo+ef7cNDM8vyJ/d1K+m/47x5F984AyiX gbRwhP5cc7LVvtTrDW7Knz63+Rx81b9ZvTJpDxEk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726567AbfBHMBD (ORCPT ); Fri, 8 Feb 2019 07:01:03 -0500 Received: from mail.kernel.org ([198.145.29.99]:49220 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726230AbfBHMBD (ORCPT ); Fri, 8 Feb 2019 07:01:03 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 197E3218DA; Fri, 8 Feb 2019 12:01:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549627262; bh=lLBhPv+avFlW//BHo/1GMGTs1ULpwcjMBQtktLa17wo=; h=Subject:To:From:Date:From; b=irQc3dyIbliKu2mQV3G2mEYchWOfFMuPx53SBLr2lrfKd/0Z9v5ziKgfKWxhr0uVL 7noE7pFit2j3KL5SQOo8C2b83VUYGMFhP+q9fXjz+tvcMTQJCr4DFqALhrd3SaPVAL VYUtxN02ntvdG9aiQYPCcH47rjY5N0nVMsHI0USE= Subject: patch "selftests: firmware: fix verify_reqs() return value" added to driver-core-testing To: mcgrof@kernel.org, gregkh@linuxfoundation.org, stable@vger.kernel.org From: Date: Fri, 08 Feb 2019 13:00:49 +0100 Message-ID: <15496272498018@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org This is a note to let you know that I've just added the patch titled selftests: firmware: fix verify_reqs() return value to my driver-core git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git in the driver-core-testing branch. The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.) The patch will be merged to the driver-core-next branch sometime soon, after it passes testing, and the merge window is open. If you have any questions about this process, please let me know. >From 344c0152d878922365464b7140c74c2a5e073d99 Mon Sep 17 00:00:00 2001 From: Luis Chamberlain Date: Thu, 7 Feb 2019 11:06:02 -0800 Subject: selftests: firmware: fix verify_reqs() return value commit a6a9be9270c87 ("selftests: firmware: return Kselftest Skip code for skipped tests") by Shuah modified failures to return the special error code of $ksft_skip (4). We have a corner case issue where we *do* want to verify_reqs(). Cc: # >= 4.18 Fixes: a6a9be9270c87 ("selftests: firmware: return Kselftest Skip code for for skipped tests") Signed-off-by: Luis Chamberlain Signed-off-by: Greg Kroah-Hartman --- tools/testing/selftests/firmware/fw_lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/firmware/fw_lib.sh b/tools/testing/selftests/firmware/fw_lib.sh index 6c5f1b2ffb74..1cbb12e284a6 100755 --- a/tools/testing/selftests/firmware/fw_lib.sh +++ b/tools/testing/selftests/firmware/fw_lib.sh @@ -91,7 +91,7 @@ verify_reqs() if [ "$TEST_REQS_FW_SYSFS_FALLBACK" = "yes" ]; then if [ ! "$HAS_FW_LOADER_USER_HELPER" = "yes" ]; then echo "usermode helper disabled so ignoring test" - exit $ksft_skip + exit 0 fi fi } -- 2.20.1