Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4773037rdb; Tue, 12 Dec 2023 08:57:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IEQKVzNb5OFWrvTwH+pjp7mK3dEKWAjhFGtm5PoUpxgD7K08iQWcf0zJiPWmmfzPODwyAGG X-Received: by 2002:a05:6a00:2387:b0:6cb:bc06:b058 with SMTP id f7-20020a056a00238700b006cbbc06b058mr4012623pfc.0.1702400251973; Tue, 12 Dec 2023 08:57:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702400251; cv=none; d=google.com; s=arc-20160816; b=VyGY707wEdRrS1S6daJeBpYm5MSo0TBZc59Xp//7l9GKN1jGGIatXAbA2xmHsmaf7r /h4/usWidKDFOJAvl0fHFLmHEr9ucbMDXq04d+dwdqDrpISJ1J6DWuwLMbeHtj7EPcIr 2JRLHoRjnsPhPBeLnf9L8ycM5bN3vgM4geEKe+BAyifnQvqnPTlWnAMe4uzOb546jAVW lQxFFjg5CnTefyfyrQ/0530uh80waHyDDL2QcFjQTaYeBZ3R7ul6QAfiHLnUT3XrstAb T0aFW1dR8ARNTlaIWNcqSjzOySt+bAuIXlxJFVVUQoKatLpHPlf8eaKfcMfOiB8B5nXz lwOw== 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=+OpS8QvLmhoSAmNbzXuy9RYCtH6wkVeGub04kf2dZCE=; fh=dVsuPwGY2ovliYjkF7C+kDSYIx2XidQhOvLDgA5M2XY=; b=CtCLGi6BcSKDDCRv+5Mde4MC205zPqxUN28hieOUEN0KTGdCBQsU85E3vXwjh1PVGu xVUfzE56fpPt+TpRU9o9Dkb7wc8K2hAF6kLyirDh5k3ztNWPbQZoraKFYyEH+Rnj34cK mTbmFkcatQCEIfHFt07AtAU1TnGSLw11Qzfgxvfxt6gLkn8WOuroXhluvqKkFfp4xpTm 8IAxYeesvT2lZm4ZWcjj3c30VM+Rxh8TeNfYJDzwrlfd/dmt0wAJJfylKTAbgzvMdq6d Fq1pFd6DlLGsjN40hKSWGC67+OAlXUFnR4Tw5xVXrabWAGxdLCBRp/VPMVZR7sS00KYB OtuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=s2MaVV81; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id 189-20020a6300c6000000b005c615702198si7896801pga.703.2023.12.12.08.57.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 08:57:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=s2MaVV81; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id C47B980B01F0; Tue, 12 Dec 2023 08:57:30 -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 S232774AbjLLQ5Q (ORCPT + 99 others); Tue, 12 Dec 2023 11:57:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235148AbjLLQ4P (ORCPT ); Tue, 12 Dec 2023 11:56:15 -0500 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C159F95 for ; Tue, 12 Dec 2023 08:56:21 -0800 (PST) Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-40c2d50bfbfso29213715e9.0 for ; Tue, 12 Dec 2023 08:56:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1702400180; x=1703004980; 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=+OpS8QvLmhoSAmNbzXuy9RYCtH6wkVeGub04kf2dZCE=; b=s2MaVV81eRkFFVSv+CEMDgYOGfK5RjAOq+uRUIVUlQQD8Y2UFunRUi/sDNTno9UQFm r0uA7das8So/k8J/lK7RNqoETh6UsXi+NvhMco65BeQImTiOri5giNZaRcoSu6ryA/Qo q9Rn6dw/ZJRaj+O2jY6+631owvuAb04h86dHPynbHZuviiglROPxOwgDzx+M8p1qybLo D4LFNvlzbyezHTLy0eBBgbaDvo/5OhvE9256UA2ycMqkm3rRKmRzU0VX7zjHIxt0JVSN YqvUh/KiU2qWNh7b4bRYJfWw5vtOzLh1IcejDHTmwwestEgm/6vZm/O1cNOh8hZV+MYO UYFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702400180; x=1703004980; 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=+OpS8QvLmhoSAmNbzXuy9RYCtH6wkVeGub04kf2dZCE=; b=U6PBd90+cUt76YFofQj4kTf8bXQa6pE0jV2q07P8cxTHhWWFujWg4m18imvRCfu99a z/qbM4Buj726iYDjP0+Ku+z6w2v40eulVjLTm8HQReoBfOBK7F39xInAfNqjbCDpvOCh x5UxHM1IrSbmzBM0yCbKoM8x8B9P7Pj1V8bnAGIk+dxu5+216UcbSUdwCG49cgq75YLY lfSOKzeqMZtXnocZmWDHUftcSz7hOC8lExuw2BRFZT5Mnn3U4iFxwMYl6mNP7DT8hKcR FaOmbUd+vkesodB6sGxOcuZXj6yyr9fLFoPMh6Zlzk+6AbVZcDAUrpZR9KM4PeVjwLnS YNJA== X-Gm-Message-State: AOJu0YyMAPYzcbqa2OcLrjJgtpkZ10JOb4Yx0/GL3z5z2tMtqmwclxPi ijnipj+gIAv0T8HdQdi73/Bj45wRSoO7u43L1sSEeEMa+ow0r1nrQUI9sQ== X-Received: by 2002:a05:600c:4e4f:b0:40c:23e0:7dad with SMTP id e15-20020a05600c4e4f00b0040c23e07dadmr3396524wmq.168.1702400180143; Tue, 12 Dec 2023 08:56:20 -0800 (PST) MIME-Version: 1.0 References: <20231212-removeasmgeneric-v2-1-a0e6d7df34a7@google.com> In-Reply-To: <20231212-removeasmgeneric-v2-1-a0e6d7df34a7@google.com> From: Nick Desaulniers Date: Tue, 12 Dec 2023 08:56:05 -0800 Message-ID: Subject: Re: [PATCH v2] riscv: remove unused header To: tanzirh@google.com Cc: Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Nick Desaulniers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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]); Tue, 12 Dec 2023 08:57:31 -0800 (PST) On Mon, Dec 11, 2023 at 4:20=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 Thanks for the patch! Fixes: 9e2e6042a7ec ("riscv: Allow PROT_WRITE-only mmap()") Reviewed-by: Nick Desaulniers Tested-by: Nick Desaulniers > --- > > --- You're still getting funky extra `---`; let's take a look later at how you're using `b4` together offline. It's not a problem for me to apply the patch, but something still isn't quite right. (Do not send a v3 over this) > Changes in v2: > - Changed name to riscv: remove unused header > - Link to v1: https://lore.kernel.org/r/20231211-removeasmgeneric-v1-1-a0= 274e802789@google.com > --- > arch/riscv/kernel/sys_riscv.c | 1 - > 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 > --=20 Thanks, ~Nick Desaulniers