Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp4102007ioo; Wed, 25 May 2022 15:12:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSkUNuY9fiCB8tIwagvf5Rik3DT7lKkO1cQen/lBd8BILFeLgvTaUC6AOZiSW9IsxoXPBj X-Received: by 2002:a05:6a00:8cb:b0:510:9ec4:8f85 with SMTP id s11-20020a056a0008cb00b005109ec48f85mr35948860pfu.24.1653516730664; Wed, 25 May 2022 15:12:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653516730; cv=none; d=google.com; s=arc-20160816; b=EPlo6LHMs2bnNqibX6leSYtKhKiX9nFuxYa5zf949M4uWnvxsHL1GrW6c9dFkNDm05 w1Pi9atJdsYM9JcdIXxC+EoptEbwrOoieWJ5+39Vi44NaNj2DpeXVEFltrtuxcSOIqab vglJRaD4wocvzNCCn3GIFiOqtg9i/4cpSu/xvqLBiOKFFfwm2/vd2kbJ8gAJHJS7O9KH l0/LJFzcLstMs017odbz2yNo5RemZ50i/AsKR96wQX+/94KEuS+NgOPdRWXk8+7vin4U E7m15Fua0z+mqjnmV6/fPx/O/R1EmMiBnluasrNV4muKh+xpjI5XQqwWgbXaP01PbhgT D1Rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=fLi8Y5a/s0Xg4Sk1cYFIfOl1cphXOIvzxubSQqTFwj4=; b=o40cFfyLkYn98A60HAALBBzQuxyeB5l8wL2XtHYTJtyVwt2wTm24is8DOrw6z51iYt fSSBUOTB6RNBOUfYtravELt5mkZtN8WDZWANxI6kxYQJRxvpng5zy+HohCUoQyxSuqy0 cZKa/gNA3+f9jTRPfOaR92/JmKBuPGfx3SAfx3PKqpWbGi4cDxqxmNYE4CADu28WhBjr A5oqXukZ/ucUVTszxVLh2sJWggEWGGM8rPggtshFIlubzzqihaZP9ocxjrwKICTdLXwd 1ZWtME7/MJsWAt6mqc5VpUz7G5bdkYhmI4GOqvpCEKaSJ/uDUxnPyIK2ApnOjPbxbtzM 8qSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rivosinc-com.20210112.gappssmtp.com header.s=20210112 header.b=ZWirXg9G; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s9-20020a170902ea0900b0015a91674899si21559791plg.279.2022.05.25.15.11.59; Wed, 25 May 2022 15:12:10 -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=@rivosinc-com.20210112.gappssmtp.com header.s=20210112 header.b=ZWirXg9G; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239078AbiEYVcy (ORCPT + 99 others); Wed, 25 May 2022 17:32:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233748AbiEYVcw (ORCPT ); Wed, 25 May 2022 17:32:52 -0400 Received: from mail-pg1-x536.google.com (mail-pg1-x536.google.com [IPv6:2607:f8b0:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85EFFA888A for ; Wed, 25 May 2022 14:32:51 -0700 (PDT) Received: by mail-pg1-x536.google.com with SMTP id a9so17890735pgv.12 for ; Wed, 25 May 2022 14:32:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20210112.gappssmtp.com; s=20210112; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=fLi8Y5a/s0Xg4Sk1cYFIfOl1cphXOIvzxubSQqTFwj4=; b=ZWirXg9GI4GKB5Uq33+V6Gj1KKxuFriu0iWhLDVoOxYETu/nz4VSIKpm201of+wkWj CUPCPkaw0fddmC2mD9R6WQB/GeZKKfyL7dBQjJQ9ClrVMOZkXKYgvjJEFY+Q78p09g+3 JTfQG+yBJgJRJAEo47nC1yU+ncAzpael52p2lKdIc05vXZtbLXylgcMzbDXd2dGf/g51 poOQ8lg9+epyhpGQ2/J2harSg5MIIpaCavtplU7+1nO1NMjqncZ7aWmOYs9XIesURp0I fYHptTdPy3T6LKXrGHdwGNXoXrS9DITPtsUsk8x//s+b1tlyES6PEkq+yZzTcdiCY5od AF/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=fLi8Y5a/s0Xg4Sk1cYFIfOl1cphXOIvzxubSQqTFwj4=; b=6hp2oPzn6uoYTrwnwIyNVadW/LhFSD5ye4bZ+yLK6Nowl5qMRjtw1p8hpH274xcj7D 8DZMnRu1EUIc9DteoUi0mLsDLn8cbwox+fLJqjpcNixmdXqWULzc9bNAf5oPyc8yXLYT Hqxo8AGzculTlDBH8T9nAj6eToh5zMGUlQHO4Jk9/q9Srd+RZDrOVg4RfUKwYpVNsl0e EzKQ+UI9mWK5DHNBz74hM7v8T8Eu+4wphyynwSYq7HHXUQDkNkpjOdw2xe9CVE+y/wh8 xZ/9xncpHiI8topCe4XG4ytokVk3341/W9M7G0gIdWYi1n5BJywfzeQRJL6delFQdWIl 7AuA== X-Gm-Message-State: AOAM5321S6vrAayggieG8av5Irqg9KhxFL4SVDmPTNKcgkdHG6apFuAv R3e2Sp13qwN8R1/UWQGh4o3b9w== X-Received: by 2002:a63:131a:0:b0:3fa:aa7e:b28a with SMTP id i26-20020a63131a000000b003faaa7eb28amr8518300pgl.569.1653514370848; Wed, 25 May 2022 14:32:50 -0700 (PDT) Received: from localhost ([12.3.194.138]) by smtp.gmail.com with ESMTPSA id y66-20020a62ce45000000b0050dc7628138sm12320869pfg.18.2022.05.25.14.32.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 May 2022 14:32:50 -0700 (PDT) Date: Wed, 25 May 2022 14:32:50 -0700 (PDT) X-Google-Original-Date: Tue, 24 May 2022 17:52:10 PDT (-0700) Subject: Re: [PATCH v2 1/4] RISC-V: Avoid empty create_*_mapping definitions In-Reply-To: <87a6cfh0bq.fsf@igel.home> CC: linux-riscv@lists.infradead.org, rdunlap@infradead.org, Paul Walmsley , aou@eecs.berkeley.edu, anup@brainfault.org, vincent.chen@sifive.com, guoren@kernel.org, Atish Patra , alexandre.ghiti@canonical.com, jszhang@kernel.org, vitaly.wool@konsulko.com, gatecat@ds0.me, wangkefeng.wang@huawei.com, mick@ics.forth.gr, panqinglin2020@iscas.ac.cn, rppt@kernel.org, linux-kernel@vger.kernel.org, linux@rivosinc.com, lkp@intel.com From: Palmer Dabbelt To: schwab@linux-m68k.org Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,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 Wed, 20 Apr 2022 15:11:37 PDT (-0700), schwab@linux-m68k.org wrote: > On Apr 20 2022, Palmer Dabbelt wrote: > >> (create_pmd_mpping() ends up skipped on XIP_KERNEL). > > Does it? There is always the semicolon left as the body of the > conditional (which is why you get the empty-body warning in the first > place). Yep, you're right. I fixed up the commit message, thanks!