Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp192413iof; Mon, 6 Jun 2022 01:09:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8KOQkM50korkmVVnZbjfjGUeiB9o4wnXG7YAph+kDzzhU1r0Kq+R86GDji3257IuFBOrw X-Received: by 2002:a63:1708:0:b0:3fd:8a03:dcd2 with SMTP id x8-20020a631708000000b003fd8a03dcd2mr6890035pgl.556.1654502960609; Mon, 06 Jun 2022 01:09:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654502960; cv=none; d=google.com; s=arc-20160816; b=kO+/tttmP46Zx2x/i1NVEiXi1gy6KWdlzKoqjU7TWrL/tOHPUxMbU/K/aFn2Os8s/D UUP+9g1oekcDShFaIiTRx/0AZhm2zzEs5OB9VqhSrfFpVxSNTkCdQdS8+tF9e7q01Hgr OKr0MQ5HL89a/kDlqsIcLD6CjGFeka0EcknqXmSLJ1RAiPnQrVmTg6+Cn6vXlm70CHL/ n7upckwA4OWNCyquYhouwDuravhOZRQS3OcBWanll4eKAUJ/5syFmSZt7Be2IzA/SlA3 3oORqLbJUAkZzslz1Hs7qfSuaG3SuD1A8QjTOErwWovci/uZM5yDdNVnpwdc038cOIso IyLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=HPxHfG/UDxYj0oyJrzzEbK9o4LGHULeUwDrGsln6nJ0=; b=oAeMjCGOqGEYs41J6D7CjbfxhZL0bLv+vvRr4Ol/umUZqA46l/HnlaVvJW7jFp8Rdi VQ1MIFpfPf34+MZQ2ZP+GrRbm/QvcYu14RllwO+KSISaY7dJRgte8/Kzz0Mgl5WUWXPI cdXrj8vXK3IHQFCsCUwl7F9i0xAVdkn348hnCvIb4jIKtoPaN1RjiLk4CJnScxpnrtiO 1xl7U/U/TLov1tXUuJcChSi3q1WxBSfHMZFnB0qrvHF/RNOA2p1XJ1HCcUAN1ePuJ+dh CrPuOKEEomzULEfFioeN5TtBivNdMsQ/Mt+tu1/5FcdO75Q+lzAod/AXa8m58fpFDSHW CBhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=l86XAKhU; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id q18-20020a170902e31200b0016391462249si17380812plc.306.2022.06.06.01.09.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jun 2022 01:09:20 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=l86XAKhU; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1B082BA9B3; Mon, 6 Jun 2022 00:50:52 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231469AbiFFHub (ORCPT + 99 others); Mon, 6 Jun 2022 03:50:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231483AbiFFHuT (ORCPT ); Mon, 6 Jun 2022 03:50:19 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 885BDB41D4 for ; Mon, 6 Jun 2022 00:50:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=HPxHfG/UDxYj0oyJrzzEbK9o4LGHULeUwDrGsln6nJ0=; b=l86XAKhUWNGhIFaLw0lQV9B3IH WxUjDPk3Xsa0F1oUwNdgazNtu+z98w/Ybo1JCpWphHo2DDAw+XETdERrsD5RZNoVsWRikF1xjGDUY 3V3sz883b4fH21ZoY7JFU1/sPyiRPhzTDBirUZibgFLt3ddPM9/HcrIVPhLx4ugtRtD1m5jKdtPhx Il2PDQ42+0210Ffv7KYmRc9ocCx0oy61LeMab42M8/90f8sithyIQJtAlhByLYSwGFUbGnchIa6Ue 2a55iC8fe+XWjpdZbouAz+p4+ibIEhYl0XTqvLjR/eIxFdtLFBikK0pjK6v7tKrtbIPL0M0uZf5ZN Rs8K2TGQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1ny7V8-00HZxE-Dc; Mon, 06 Jun 2022 07:50:14 +0000 Date: Mon, 6 Jun 2022 00:50:14 -0700 From: Christoph Hellwig To: Kefeng Wang Cc: catalin.marinas@arm.com, will@kernel.org, akpm@linux-foundation.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, hch@infradead.org, arnd@arndb.de, anshuman.khandual@arm.com Subject: Re: [PATCH v4 2/6] mm: ioremap: Use more sensibly name in ioremap_prot() Message-ID: References: <20220606074815.139265-1-wangkefeng.wang@huawei.com> <20220606074815.139265-3-wangkefeng.wang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220606074815.139265-3-wangkefeng.wang@huawei.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Mon, Jun 06, 2022 at 03:48:11PM +0800, Kefeng Wang wrote: > Use more meaningful and sensibly naming phys_addr > instead addr in ioremap_prot(). > > Suggested-by: Andrew Morton > Reviewed-by: Anshuman Khandual > Signed-off-by: Kefeng Wang > --- > include/asm-generic/io.h | 2 +- > mm/ioremap.c | 12 ++++++------ > 2 files changed, 7 insertions(+), 7 deletions(-) > > diff --git a/include/asm-generic/io.h b/include/asm-generic/io.h > index 7ce93aaf69f8..e6ffa2519f08 100644 > --- a/include/asm-generic/io.h > +++ b/include/asm-generic/io.h > @@ -964,7 +964,7 @@ static inline void iounmap(volatile void __iomem *addr) > #elif defined(CONFIG_GENERIC_IOREMAP) > #include > > -void __iomem *ioremap_prot(phys_addr_t addr, size_t size, unsigned long prot); > +void __iomem *ioremap_prot(phys_addr_t phys_addr, size_t size, unsigned long prot); This adds an overly long line now. > -void __iomem *ioremap_prot(phys_addr_t addr, size_t size, unsigned long prot) > +void __iomem *ioremap_prot(phys_addr_t phys_addr, size_t size, unsigned long prot) Same here.