Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4319241rdb; Mon, 11 Dec 2023 16:06:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IEuGgsANj6J5KmX+q+nbCJrySWeH1cNap8rCGRKvBYLo7qO7Cr5RN962ZaOqTV+276vcbgC X-Received: by 2002:a05:6359:6b84:b0:16e:1085:cd0 with SMTP id ta4-20020a0563596b8400b0016e10850cd0mr5606552rwb.22.1702339608783; Mon, 11 Dec 2023 16:06:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702339608; cv=none; d=google.com; s=arc-20160816; b=pFxclYWy5z9yVrb4kb86FzdesOuJ6tLdkGxP6UHLOkyOFv5QgeVy6txfje0JsW1ykr rUgSJF+iX6by8nPGxX6BeMlxcDjFr3YD/IZkHtYCA57bkZvxXnlj1P0zsCv2kh1cAx/w KHtO0W2AKmdvb/mBQ5vyXBwpqQSwBvffkl5fUZCh+cZtbSdyqR2k/JQ/cHdKcNbzutxC /29D1VfFC3kSRjUPuCBcDT+qNjnrI6v+2M4FvIYXNL+MPBAsLxed13HCi6tlUIe6pzTl KmRU/5pFXGM+t8zSCigA0m/VZmpejY942j3vipUNmas9VNEd5iTvPaUYlBDQ0z/daawC 6G6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=6mXLZeR4Bg70XdW95zE9udRxRkmyhgCjX63YmFmBgJY=; fh=BdJy/K3DAwu2Z0CoBAOGt0Fi1vMWUaIm3eFXO9NCaa0=; b=rbZouepWd/s2kBArKNID7HTbrWVDmDqeTbd5iIY86pF79AZWf2Lio9PDWKL9IE8EaR zPRIY/wV1ix3pGGuh4EO2uvaHTAHAVEzkOYZpdQNa93o3CveLlm9jMeZlHHir2puDSMn V3w27Rhdf/cI1N1GZGA/zorFQvdTsf/cx8IXYRmPBdXqLCMu9bp+mXREoToj5j7bmWKc ZlziJNJmeYhTBT7uf4x2zF30jNqtH0+vE+uJcqpd74kmaUl6oZnGK879Vum4j5hVpdTZ +orJCyuKoNYYLTjzUK3iHiJ0oLl71rO/asVjncuz4/jS/pWDFF99oZ9ZBNHw5S/JCUYY mAmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=I1P1vBC2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id b8-20020a6541c8000000b005c659bf1c70si6900090pgq.206.2023.12.11.16.06.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 16:06:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=I1P1vBC2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 769008049048; Mon, 11 Dec 2023 16:06:34 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345418AbjLLAF7 (ORCPT + 99 others); Mon, 11 Dec 2023 19:05:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345477AbjLLAFq (ORCPT ); Mon, 11 Dec 2023 19:05:46 -0500 Received: from mail-ot1-x333.google.com (mail-ot1-x333.google.com [IPv6:2607:f8b0:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57F3DD0 for ; Mon, 11 Dec 2023 16:05:53 -0800 (PST) Received: by mail-ot1-x333.google.com with SMTP id 46e09a7af769-6d84ddd642fso3863085a34.0 for ; Mon, 11 Dec 2023 16:05:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1702339552; x=1702944352; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=6mXLZeR4Bg70XdW95zE9udRxRkmyhgCjX63YmFmBgJY=; b=I1P1vBC2y1xnzHr6TPfK0gbpktiKUxQaO3B/P5rGs8DmzOUcfXcrALOxJ/U4+Bkqz4 t6dKGs53hmuQpptkshvyoleiYshkUTOz9ZCy+3q5+j6uwIu3+YJ0uso6lV1FkBdpw0UQ qv5OaoRQkwEXg0EetHodqJUueoOM/4VzaTTpPYzZm4zviAPiQijYqD4BImdX6YjpqCo5 f5buPjaNFn9gAbQAOke9qtgjjYyUlSyRPg3g7+vKOROo8KmRDH57ADa+iWbRv14wosUl HYgKX0jjv99YorX+/yWPl4uVbv68HManvxgD+fQvAQT7JJ1mf4Pr9F8JJhgiPJBgBHOL jjsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702339552; x=1702944352; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6mXLZeR4Bg70XdW95zE9udRxRkmyhgCjX63YmFmBgJY=; b=gAxQ0kpE2biQJ/Sn6/gVJ/nNDorAxaipxywxGc/jsWmIcNsOPMdoGn8P7datTTgCku rW72gwHmpeulEOl6xlDLbQOe9TeP5JF6VqvVKpDa1TyKoZ2ZH/IRD1iWg7HJAHif6RIY TPw6XvaE4hEuwm8MUn68zzWBOYpF8iSFEmGDDVc4TxYsoRMHcVy+xz+cIrg5dvZX26uL Zan7hj5l0PgGLq+YXOaNRTMbA432+TIMgbKQ3/0M+XO0ekL1Qz8dDo0NEujw2bbBFSdx xgFuC2aX68vV0+NySY8q4hQIpWACe4FS8tT6zK9mHH434eP6mj98k4Hb+SP+gf2Bcv9m U7kg== X-Gm-Message-State: AOJu0YyMpK8O8EbblIJl/+8DHp0VfSq/3DBO5Ladi8NUaLKTveMR2AnO bTCDvQRGLUJUz6h67vP4vgvpak3Ndb0QW6CHGCqv/0L7uA3e9537ehFCfA== X-Received: by 2002:a9d:7981:0:b0:6d8:5421:1e0c with SMTP id h1-20020a9d7981000000b006d854211e0cmr5520995otm.34.1702339552335; Mon, 11 Dec 2023 16:05:52 -0800 (PST) MIME-Version: 1.0 References: <20231211-removeasmgeneric-v1-1-a0274e802789@google.com> In-Reply-To: <20231211-removeasmgeneric-v1-1-a0274e802789@google.com> From: Nick Desaulniers Date: Mon, 11 Dec 2023 16:05:35 -0800 Message-ID: Subject: Re: [PATCH] arch/riscv/kernel/sys_riscv.c: removed asm-generic To: tanzirh@google.com Cc: Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Nick Desaulniers , Conor Dooley Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-8.4 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.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 (howler.vger.email [0.0.0.0]); Mon, 11 Dec 2023 16:06:34 -0800 (PST) On Mon, Dec 11, 2023 at 2:52=E2=80=AFPM wrote: > > arch/riscv/kernel/sys_riscv.c builds without using anything > from asm-generic/mman-common.h. There seems to be no reason > to include this file. > > Signed-off-by: Tanzir Hasan > --- > > --- > arch/riscv/kernel/sys_riscv.c | 1 - If you run `git log arch/riscv/kernel/sys_riscv.c`, you'll find the prefix used on the oneline of the commit for this file is generally one of: - RISC-V: - riscv: You should choose one of the above rather than `arch/riscv/kernel/sys_riscv.c:`. Sorry I missed that in internal code review, but would you mind please sending a v2 with that fixed? I'd expect something like: riscv: remove unused header +Conor who pointed this out to me on IRC > 1 file changed, 1 deletion(-) > > diff --git a/arch/riscv/kernel/sys_riscv.c b/arch/riscv/kernel/sys_riscv.= c > index a2ca5b7756a5..ebcaf386ea62 100644 > --- a/arch/riscv/kernel/sys_riscv.c > +++ b/arch/riscv/kernel/sys_riscv.c > @@ -14,7 +14,6 @@ > #include > #include > #include > -#include > #include > > static long riscv_sys_mmap(unsigned long addr, unsigned long len, > > --- > base-commit: a39b6ac3781d46ba18193c9dbb2110f31e9bffe9 > change-id: 20231211-removeasmgeneric-f6be13a42b6b > > Best regards, > -- > Tanzir Hasan > -- Thanks, ~Nick Desaulniers