Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp35149015rwd; Mon, 10 Jul 2023 03:22:37 -0700 (PDT) X-Google-Smtp-Source: APBJJlH3Hk9WOH67u+CkSd0nxOCRIMQdrgPhLkm1Xqxqd4FqnKZIRw9e5IIG5BvJ7WkYE0avyt0d X-Received: by 2002:a05:6a20:72a5:b0:130:a15d:54eb with SMTP id o37-20020a056a2072a500b00130a15d54ebmr9015159pzk.24.1688984557314; Mon, 10 Jul 2023 03:22:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688984557; cv=none; d=google.com; s=arc-20160816; b=DcBayRV2imNJ4B13+6cn+yqFdmn8lR4R5YIZC2Pj74seSDxOYoXH2CJPFBntdjZYRx +RE3YlnvYDQ1p6WLCa0WMQ7g1rv6yS1ihnnUqCWACKbj1Sk62Nw0uRI/IA2hwA6pdWx/ twjEy/J3QxM0mPiU/xdRklWUSsXwz4v+PkHgnnGAPqXl14hJ9F+Lap8gbWUml2dJieqc g9P6xKSOtUx4wU3ZZWWmImXTZYcx3srA1mqgjmV+2VJSMsBbwBvJ4monVoCAe0KXDGxY PPBXc1VrxkiNTRS1+tTK/b6PHEmJM6njJz/yn6eMugkj4uZFd4szU47Zg8fp3Wtthe1S klSg== 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 :references:cc:to:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=PM+BniYoRZfJRDJS4q/JXBjRLklHXdx5WeIeuyCUukM=; fh=wh9SFKCyErvru/q80WwcWl7s1UIB0/qbx3zAEbccuAc=; b=mWk/xAv/M98hhQOoi/rqEBG0BpPrd8ef533+t2TVrAwRURMPgktFu9d7ZeTTjqw908 yfaVPM0Ed0qrbBwmkQfbmc0aRvis5aM1xeeIldurdRCs0pRUftNGvX5khaf0hHjy0K42 vD42LSFHVcKerBFkGv+Cs3bTABiMsfhYRVV8QtswTviMW+4pTzasDpPLbZUXzMbQTx/5 dJJKneOCAXQmO5GSyZG7jIa3AqdWJ7N3vjnFqE7gKrMK5EH+oB4O6oGGGaD33uJAbFcp wC0ZWO2VSj9KpAUyhOQXuFxcx2HmsDWu5lIZfG4O2a1O1WIH0hvHYG+NB15JRqtnyLzr ph9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@shopee.com header.s=shopee.com header.b=OKYm3nmY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=shopee.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i11-20020a170902e48b00b001b87ecb0e5csi8168818ple.126.2023.07.10.03.22.25; Mon, 10 Jul 2023 03:22:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@shopee.com header.s=shopee.com header.b=OKYm3nmY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=shopee.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232814AbjGJKOO (ORCPT + 99 others); Mon, 10 Jul 2023 06:14:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231949AbjGJKN4 (ORCPT ); Mon, 10 Jul 2023 06:13:56 -0400 Received: from mail-oi1-x230.google.com (mail-oi1-x230.google.com [IPv6:2607:f8b0:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3E3A213D for ; Mon, 10 Jul 2023 03:12:05 -0700 (PDT) Received: by mail-oi1-x230.google.com with SMTP id 5614622812f47-38c35975545so3844714b6e.1 for ; Mon, 10 Jul 2023 03:12:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shopee.com; s=shopee.com; t=1688983905; x=1691575905; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=PM+BniYoRZfJRDJS4q/JXBjRLklHXdx5WeIeuyCUukM=; b=OKYm3nmYqAJOOYWcwXFJd26RlpwOf8iJGYMQMvLHogscvlnN0fYhhdJ9Q4KpRCykBe JizkvutIHdXM607qzd4CBw/N26FH4tIF7yUScyEavMwh6C5agZvIW8zIa2E8bR4BL6vr NgH/YMkB/lj8vyhnhS7anSju+NiHiRlpsP6xgBSS4Sf3YBkmDO4P1mRneX2JBFkwHeAA ncA6Xp+1psmsjgRHGRyYpptTadA29OTUqXe6o9nkmkyt1lGxhg8voa0Bl/xIakVIejmj mk1H/0/uAXvn6Z8AKoqJaaKk6o2HFRKyQBftXPsYfa3nf33lZynIjd5xeRQ6g/38WB6s a6cA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688983905; x=1691575905; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=PM+BniYoRZfJRDJS4q/JXBjRLklHXdx5WeIeuyCUukM=; b=F+YKLqN5mTEbNUcrYKnxe5SpdBhSMlEhLiWtoJx7vzO9IOrkuxuxeYzYlbJTjxoO4A uFx9LftQbkpCAkLt6EUYaj/7Ib4G95zf0+vCxruOIIJW22u0Uvo/DagAnpfE7mpvuVzI lokfvG4p+IfyZAe7/YPWsTeu8kebkyfMpGbzZMRW4ItO0fFTZeDETmE6SlWzU5tGsvHY sEXLOFfh3nVPUoX6M8XXcByNyIPGOuMO2GIbKDZ7d6+G9HV6ZL+C29POYqrS3lU+qwnu /aWbGXXiA1wkAtMd6mZextmZCwpUQirGwmQUbfqBCY6cD4S1FyiZh5LrA8xH0eDEmD5O cYew== X-Gm-Message-State: ABy/qLaNG3IWj6COqXe5FnwQqpVk1lSuLrogT714X29t9IsaqED9sNio I0j9tUftD1Ci/lInLIlmKquFxGJJwepfk0IcKcU+dQ== X-Received: by 2002:a05:6358:c09:b0:135:544c:4dc8 with SMTP id f9-20020a0563580c0900b00135544c4dc8mr8120343rwj.16.1688983905492; Mon, 10 Jul 2023 03:11:45 -0700 (PDT) Received: from [10.54.24.10] (static-ip-148-99-134-202.rev.dyxnet.com. [202.134.99.148]) by smtp.gmail.com with ESMTPSA id x5-20020a654145000000b0054fe7736ac1sm6331423pgp.76.2023.07.10.03.11.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Jul 2023 03:11:45 -0700 (PDT) Message-ID: <5f5a3d4c-34fb-9d9b-444f-da8f7389ab76@shopee.com> Date: Mon, 10 Jul 2023 18:11:39 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH] signal: remove duplicate include header in signal.c To: ye.xingchen@zte.com.cn, rafael.j.wysocki@intel.com Cc: peterz@infradead.org, ebiederm@xmission.com, elver@google.com, tglx@linutronix.de, michael.christie@oracle.com, viro@zeniv.linux.org.uk, mcgrof@kernel.org, dvyukov@google.com, vincent.whitchurch@axis.com, linux-kernel@vger.kernel.org References: <202307101523409041269@zte.com.cn> From: Haifeng Xu In-Reply-To: <202307101523409041269@zte.com.cn> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, 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 On 2023/7/10 15:23, ye.xingchen@zte.com.cn wrote: > From: Ye Xingchen > > linux/file.h is included more than once. Can you point out which files have contained file.h? Though file.h is included more than once, but it has used the macro "#ifndef / #define" to avoid redefinition. So what’s your concern about this? Thanks, Haifeng. > > Signed-off-by: Ye Xingchen > --- > kernel/signal.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/kernel/signal.c b/kernel/signal.c > index 9a3ff8157ceb..b1da4e81bde6 100644 > --- a/kernel/signal.c > +++ b/kernel/signal.c > @@ -25,7 +25,6 @@ > #include > #include > #include > -#include > #include > #include > #include