Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4508355rdh; Wed, 29 Nov 2023 03:35:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IH+C5AEgWjYk7oUb6BvsElJMWqjCThBWTjO1mfFe6r9fiCc7Dxcm+/kPxx2QihKuA0GaofN X-Received: by 2002:a17:90b:3b43:b0:285:8e8a:cd1c with SMTP id ot3-20020a17090b3b4300b002858e8acd1cmr15879621pjb.44.1701257700933; Wed, 29 Nov 2023 03:35:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701257700; cv=none; d=google.com; s=arc-20160816; b=TXDisT1aibVmDRd93rTOmjz+x42z4EbNrot6Ru5LlmzP0qznp8zFXoVpcFyuu9K58V sqPJ1UNMwoBo1Ruwvg5sPMyrkK7LNDKFcimMdEnZfZbeQ74TbpcjuAU1ph5GNd/bZtDU Fsk4taddo70nkrME2rAEEKaHSpbHWOD2rbI2sYHuRPyfyI4J6G3kaHo7TFp0G/hjBAVD Y9WXVcCqPzsrZVffHj0R0Z09hTb+AYTiGvNGSZWL6bG/LwPjDmPmjjVZVK+6TA8DxJny D7ytiW8XCpr5r46+mm1pnGDq+tuYR+ojB5VoKtINjihuBJ3Irt+KxLy+BW8l/p1Q0UTL Thaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:to:subject:cc:user-agent:mime-version :date:message-id:dkim-signature; bh=az6FLVoqs1C+MfWI3NWJBNA8IBuBj1iHyKj9RtIPvhM=; fh=xdhq5jxlJOUT0PS0y6mlcsQVQQVby/rqwUxRP8nTnOw=; b=TkDhSumGGK/4ak7UYfmRR7gaBQ8L4yhvCtpWzQrihTqYUbB+A0sowwy+pjOdX2zbiS 5mJltR+301JVQ++uSCdbiBFGe30dWh+Z9AS6OdiZTrRMatvdSgz3rQxWji42wTy2by2O Hfd7JauNBgMkPa3CWHsYxlRHGBh7H8pggzbFu3iO7O84o4lKyDqasG338wQ+V9tQDBWA EHKZcqJe2swr9UQHnjDNiDGy7g/Z5YZI6y9zxgPpnNNy4uIR3PEyVd+RD+KuDoazRnMD nGsHuqJ1+i5s0atlFAR7CfwlpHG5FOgwUDPfimldYEiwRzGE5a2lkGv84TwZ36rvl+B9 9Zow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=F38TCO+Z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id j24-20020a17090aeb1800b0028528a3aab7si1123586pjz.178.2023.11.29.03.34.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 03:35:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=F38TCO+Z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id B536D80A9920; Wed, 29 Nov 2023 03:34:58 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232925AbjK2Lei (ORCPT + 99 others); Wed, 29 Nov 2023 06:34:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232801AbjK2Leh (ORCPT ); Wed, 29 Nov 2023 06:34:37 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F4FFB5; Wed, 29 Nov 2023 03:34:43 -0800 (PST) Received: from [100.98.85.67] (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: usama.anjum) by madras.collabora.co.uk (Postfix) with ESMTPSA id D16316601F02; Wed, 29 Nov 2023 11:34:39 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1701257682; bh=tRhepYPNdHA/lUETHFHwOvj00O+K6y9mXjcxMrTkqzU=; h=Date:Cc:Subject:To:References:From:In-Reply-To:From; b=F38TCO+ZCcv8thAbgr+2IWP0WtXlpbyPTn57B5TJAAd/cr1xDrsgLwRErdzwXYLWP X8k3aNUaPL8Sc6ftCsgBZ3YfEPcLm7GFWuIJgVH+2AdfX7Np35qIxH3MzcJLy1iWmz YG3Mnfk/U1mxeKxdEng9vkVqfEAGSXL6kJVRIpsjNUy+v3lakEteXL9XeQxvp8/CmE 61SJ/tWK3M82OezYCRZ3A5955LKK+TSNLQrkNFVzAs1nk0ZCHlG7+8cCLk8MSR2V/S cDax9ZfRgrHKDvbKmCCt253laGDQFtObTsDMxFuPf/tqnhPocRil6htifpwnyDdpC+ hevWfrDz0DEnA== Message-ID: <9dbda2f9-2bb2-4e79-976a-12856ab6936a@collabora.com> Date: Wed, 29 Nov 2023 16:34:34 +0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Cc: Muhammad Usama Anjum , kernel@collabora.com, Aishwarya TCV , Shuah Khan , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] selftests: core: include linux/close_range.h for CLOSE_RANGE_* macros To: Shuah Khan References: <20231024155137.219700-1-usama.anjum@collabora.com> Content-Language: en-US From: Muhammad Usama Anjum In-Reply-To: <20231024155137.219700-1-usama.anjum@collabora.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Wed, 29 Nov 2023 03:34:58 -0800 (PST) Soft reminder On 10/24/23 8:51 PM, Muhammad Usama Anjum wrote: > Correct header file is needed for getting CLOSE_RANGE_* macros. > Previously it was tested with newer glibc which didn't show the need to > include the header which was a mistake. > > Fixes: ec54424923cf ("selftests: core: remove duplicate defines") > Reported-by: Aishwarya TCV > Link: https://lore.kernel.org/all/7161219e-0223-d699-d6f3-81abd9abf13b@arm.com > Signed-off-by: Muhammad Usama Anjum > --- > tools/testing/selftests/core/close_range_test.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/tools/testing/selftests/core/close_range_test.c b/tools/testing/selftests/core/close_range_test.c > index 534576f06df1c..c59e4adb905df 100644 > --- a/tools/testing/selftests/core/close_range_test.c > +++ b/tools/testing/selftests/core/close_range_test.c > @@ -12,6 +12,7 @@ > #include > #include > #include > +#include > > #include "../kselftest_harness.h" > #include "../clone3/clone3_selftests.h" -- BR, Muhammad Usama Anjum