Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp777000rdf; Tue, 21 Nov 2023 17:02:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IHJdWmewouGwIRHrw3IS9qruon6M5XA7Yw2XewjeLyT6bUc1NAA1NAvBIX7Dav50jiBfs1A X-Received: by 2002:a05:6830:2695:b0:6d7:ed0f:8824 with SMTP id l21-20020a056830269500b006d7ed0f8824mr669481otu.5.1700614948241; Tue, 21 Nov 2023 17:02:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700614948; cv=none; d=google.com; s=arc-20160816; b=s4BS2rH/aRET6FXzqJHvu6hZzq2y6G7Ac7VK8udN3aayGf2bPlnfR/ytwMqfehK7hS CqAsAQBCqnG266jClAI9yIbCWOB+fx90Sw0WXL1RT9eym0diFgviQzzhgGR1RRIdnvJV ZXA7lZehukS1KwVVGLu2iU/vSXgt1U0Nu/ePIIMbtbayVgt/WzpcRxXP2PgsiTjmEBFS mLJPgBQJM+vaP66YMANujfHDnIhdv7e1fTE2rUeefMW7IFMTP1u4yqcS5gwrsDJwEFj/ k/YOJUiEhnZl/D4HURGNGJRyxKN7AqEQDTMY6vOGQf6waIVwurguwd+qeFr5PctO1nLx KcXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=uwim3U9Y48rhz4itpQAvIBPQujMuCfTPb1u908u1HfE=; fh=UninmXILiV6/i9macdXV8mG3g7ulq6nXUWzEa+A8Llc=; b=CGArKOTMBsRdbqHAKETikgR6S+tBIAVwpHmhCcF4tmviiBVokaCdv9bwmn7tAfdbS9 Qpr5AMp8nyNDJ5/lmrszI5yO2l4fBbmfrRYsVYYJTZd0x+ubXkflRMRnCQIEdST6xSyT mukZffBiFVJyZJ2LnUPzoYA1qtm9lRkAk2GL8unN2Mu5/7u6jU7GGLMOmUITb7Ci3mDq J8jeXtNaPgTy/ka4jIXSz892M7L0Ky4jMGGza3dDQk9J8vcX7Ettm4wuTv2rFzR6cgFO PMCJEygQKgiLvV3MD04n8y9kvOt1KxU912KWFjAKcNzzr7aF0NlGa5co4anJmV48QIUc MNbQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id 67-20020a4a0946000000b00589d76ac14fsi3863368ooa.89.2023.11.21.17.02.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 17:02:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id F418B80CFD4E; Tue, 21 Nov 2023 17:02:24 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234993AbjKVBCR (ORCPT + 99 others); Tue, 21 Nov 2023 20:02:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231307AbjKVBCQ (ORCPT ); Tue, 21 Nov 2023 20:02:16 -0500 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B746D45; Tue, 21 Nov 2023 17:02:12 -0800 (PST) Received: from kwepemm000003.china.huawei.com (unknown [172.30.72.56]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4SZjXL2q7qzRjYV; Wed, 22 Nov 2023 08:57:54 +0800 (CST) Received: from [10.67.111.205] (10.67.111.205) by kwepemm000003.china.huawei.com (7.193.23.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Wed, 22 Nov 2023 09:02:09 +0800 Subject: Re: [PATCH 3/3] perf bench sched-seccomp-notify: Fix __NR_seccomp undeclared build error on i386 To: Namhyung Kim CC: , , , , , , , , , , , References: <20231118024858.1567039-1-yangjihong1@huawei.com> <20231118024858.1567039-4-yangjihong1@huawei.com> From: Yang Jihong Message-ID: <1ca5d8ed-c0ad-af21-fc84-eb64b02dc20f@huawei.com> Date: Wed, 22 Nov 2023 09:02:08 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [10.67.111.205] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To kwepemm000003.china.huawei.com (7.193.23.66) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-2.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 21 Nov 2023 17:02:25 -0800 (PST) Hello, On 2023/11/22 2:57, Namhyung Kim wrote: > Hello, > > On Fri, Nov 17, 2023 at 6:51 PM Yang Jihong wrote: >> >> Fix a build error on i386 system: >> >> bench/sched-seccomp-notify.c: In function 'seccomp': >> bench/sched-seccomp-notify.c:46:17: error: '__NR_seccomp' undeclared (first use in this function); did you mean 'seccomp'? >> return syscall(__NR_seccomp, op, flags, args); >> ^~~~~~~~~~~~ >> seccomp >> bench/sched-seccomp-notify.c:46:17: note: each undeclared identifier is reported only once for each function it appears in >> bench/sched-seccomp-notify.c:47:1: error: control reaches end of non-void function [-Werror=return-type] >> } >> ^ >> cc1: all warnings being treated as errors >> >> Fixes: 7d5cb68af638 ("perf/benchmark: add a new benchmark for seccom_unotify") >> Signed-off-by: Yang Jihong > > This is already fixed by: > https://lore.kernel.org/all/20231017083019.31733-1-jirislaby@kernel.org/ > I didn't notice this patch... okay, please ignore it. Thanks, Yang