Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3421719pxf; Mon, 29 Mar 2021 01:35:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+3C0OsopZwVa6gwToWs6czMXa5YUbCaRMrTUqYvjA9xpfVoMYlOCb27AY3tlZtDuXbeE8 X-Received: by 2002:a17:906:ad4:: with SMTP id z20mr26722550ejf.496.1617006919844; Mon, 29 Mar 2021 01:35:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617006919; cv=none; d=google.com; s=arc-20160816; b=u4VA0WkFCvF6UAdtZ68IS2psxc+WwwwI6hxx3yYj4oNrgF2Su7lY/0j8xhJShWRZWn 1lWx3t946/Z8MCJm7mJmYxa0thASwNnte7fMkKhZ2bB3B7Dny3oI5sqLDmJoLR790Nrj VR6e9IUwHvBrNO4kVmHWA+fWSB2cALKDMj2PLlvjOEpru2NwR/31ccAiAN5s4OKGrU4q GCErs7MDtr+6lgicBSmCWqh0tYcgNM87yRD9SvpjoOp7vq1Y9NcO2yW4F1BYPzCAS6/L uNNyJFTxdBf0QSumtvXQ38ElUnhms1BXqukSuDa6AxIk8HMGyAw4r58I3U3OQ3CWFpAP w8zQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=FPBLfC/SmJ38i3845ywBaM5LMpyr/1naLUKSb5eAQ6U=; b=HBUTe0T6InL2RrXcQvNDj06yVdZ9lE27Au3uK5bBb9jRfdkixEHKaxxorON/MXRg/b CX2iocoDAFkQNxfEUFesm2QU0by7lpaqVwOxxXPB0uxgUW7Oic7XwMjHOyCr9gGLTtip 7kUOSAYnBcFvPCwp16+u9GKaDowEpGbUOscs3V14PsZGdi0iT6yyX0diSHw0Pw1aYGTB jpEEVPEv13tSHwRmFaLJOPIQw7IjjbvgFD87kdr2Ge2RJuoKj636hbBcjEwepXNqmQNG cG7WusXUJn84R5smVSNo6miYbfybrf6VxaN442kkCIf3TwYRHEBNkrLy8l8UaeKSH65g ip/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="PXI/6RN5"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y4si12558425ejp.378.2021.03.29.01.34.57; Mon, 29 Mar 2021 01:35:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="PXI/6RN5"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233200AbhC2Iak (ORCPT + 99 others); Mon, 29 Mar 2021 04:30:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:35870 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233287AbhC2ITZ (ORCPT ); Mon, 29 Mar 2021 04:19:25 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3A8746044F; Mon, 29 Mar 2021 08:19:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1617005964; bh=uO7vdNQGRFMdZ4wp2dpa0WnjlV27Fj0hTzclMdvBH78=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PXI/6RN5U/vH9IMTha2aKVQY36eyWRLnssO3Y2RmPL+P39nyDM+2bdNycET5Cq/JN hBuC1QH9QnWOrFh5sUFuj5Jp2X/fk4QVy0TovD1hkzVrWucIk3icAKJl8ktCMYbxF+ Jv62XQIZRd4oACaA2RyMHEF88sGfZBlWwaFpkJKs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jiri Slaby , Masahiro Yamada , Sasha Levin Subject: [PATCH 5.10 033/221] kbuild: dummy-tools: fix inverted tests for gcc Date: Mon, 29 Mar 2021 09:56:04 +0200 Message-Id: <20210329075630.270381639@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210329075629.172032742@linuxfoundation.org> References: <20210329075629.172032742@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jiri Slaby [ Upstream commit b3d9fc1436808a4ef9927e558b3415e728e710c5 ] There is a test in Kconfig which takes inverted value of a compiler check: * config CC_HAS_INT128 def_bool !$(cc-option,$(m64-flag) -D__SIZEOF_INT128__=0) This results in CC_HAS_INT128 not being in super-config generated by dummy-tools. So take this into account in the gcc script. Signed-off-by: Jiri Slaby Signed-off-by: Masahiro Yamada Signed-off-by: Sasha Levin --- scripts/dummy-tools/gcc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/dummy-tools/gcc b/scripts/dummy-tools/gcc index 33487e99d83e..11c9f045ee4b 100755 --- a/scripts/dummy-tools/gcc +++ b/scripts/dummy-tools/gcc @@ -89,3 +89,8 @@ if arg_contain -print-file-name=plugin "$@"; then echo $plugin_dir exit 0 fi + +# inverted return value +if arg_contain -D__SIZEOF_INT128__=0 "$@"; then + exit 1 +fi -- 2.30.1