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=-13.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,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 7E12EC433F5 for ; Mon, 13 Sep 2021 12:09:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 615D160FBF for ; Mon, 13 Sep 2021 12:09:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239849AbhIMMKf (ORCPT ); Mon, 13 Sep 2021 08:10:35 -0400 Received: from foss.arm.com ([217.140.110.172]:57178 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239815AbhIMMKd (ORCPT ); Mon, 13 Sep 2021 08:10:33 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id F0FEC31B; Mon, 13 Sep 2021 05:09:17 -0700 (PDT) Received: from C02TD0UTHF1T.local (unknown [10.57.16.84]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 4B58E3F59C; Mon, 13 Sep 2021 05:09:16 -0700 (PDT) Date: Mon, 13 Sep 2021 13:09:08 +0100 From: Mark Rutland To: cgel.zte@gmail.com Cc: catalin.marinas@arm.com, will@kernel.org, pcc@google.com, maz@kernel.org, peterz@infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Lv Ruyi , Zeal Robot Subject: Re: [PATCH] arm64/kernel: remove duplicate include in process.c Message-ID: <20210913120908.GA9450@C02TD0UTHF1T.local> References: <20210902011126.29828-1-lv.ruyi@zte.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210902011126.29828-1-lv.ruyi@zte.com.cn> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 01, 2021 at 06:11:26PM -0700, cgel.zte@gmail.com wrote: > From: Lv Ruyi > > Remove all but the first include of linux/sched.h from process.c > > Reported-by: Zeal Robot > Signed-off-by: Lv Ruyi > --- > arch/arm64/kernel/process.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/arm64/kernel/process.c b/arch/arm64/kernel/process.c > index 19100fe8f7e4..1a1213cca173 100644 > --- a/arch/arm64/kernel/process.c > +++ b/arch/arm64/kernel/process.c > @@ -18,7 +18,6 @@ > #include > #include > #include > -#include > #include > #include > #include For the benefit of other reviewers, while it's not obvious from the patch context, arlier in the includes (which aren't currently sorted), there's a block with: | #include | #include | #include | #include ... and so this patch looks good to me: Acked-by: Mark Rutland IMO it would be nice to sort the includes if that's not too churny (but that should be a separate patch). Thanks, Mark.