Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp823479pxb; Wed, 27 Oct 2021 13:08:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxyLknHba+haKf+Ok511+FG8SvzKOQNd1leZcNiXcZLrvuPAabfl6wtmyoPpK5NtlsppZpy X-Received: by 2002:a17:90a:4596:: with SMTP id v22mr2103296pjg.76.1635365300599; Wed, 27 Oct 2021 13:08:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635365300; cv=none; d=google.com; s=arc-20160816; b=aYIbGJHBkZE82mwhlpgIWiEuS4LfPL0ybAgcexoKsV+BNtD/DGImWCTCW0JpQ3AG8M ehvbm9pzKMR/4WSrj6mYtSIyza0zVoXXj+ItcoVfS0L8QnJtB5vBvKbHV4Ori7mdL4sL yU31WkVRVqRX+DU+YiVMFJJiPjfr5PHivnbdD8mw5m1d1pT/BoC4gv2IoQT1g/EvJjrz SdsCJfCYZ0dsYGSgpdhd9NlLsJNsATtEoXw6+o1euRhZy4ib1kbePLi7BAnPh914f5do VMCuIrFMz5hflESTB+WsluRM08f9YA7eTqq4mCgMXsQ1eaZsUVlvknprzYYLPG0zYSQs JVxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=/iJZSwBfMB4rhQgp9Yn6aeYD+316WLPLDz4u9JiASsw=; b=sQL4nKxVni0DP0Vde/cbRZndNrUm6rG6fP0pfP7u3OgUDAxBvEHN77NVlI2NOId7RW RxpW5FQCAH9aRuxufwUbu4UvezrxcOUA7NP63ykmBBHsYVEetGxRvQJY2iuia0IflA8w RJcR1HwB8flyTLW+NMIOLOVJeqcXSWiUQiZwwsCP7Q/iD1HOk7GXDnh0WhZBwDXqP2RO xpwHZC499fCqMFvG03kPSEtAcGfNfgtwymLJcOIQd5MZuFMGYadnew1pDvypB8js8mxx z30FYZJ8Wh6GLI5BIGgLpSohcPeaG689dlzEPjxweUn2La/1jLp5dJYZUgdITIuOBlox gl+Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h70si1122171pge.135.2021.10.27.13.08.06; Wed, 27 Oct 2021 13:08:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240415AbhJ0HYv (ORCPT + 99 others); Wed, 27 Oct 2021 03:24:51 -0400 Received: from mail-vk1-f170.google.com ([209.85.221.170]:33315 "EHLO mail-vk1-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231641AbhJ0HYu (ORCPT ); Wed, 27 Oct 2021 03:24:50 -0400 Received: by mail-vk1-f170.google.com with SMTP id d130so950480vke.0; Wed, 27 Oct 2021 00:22:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/iJZSwBfMB4rhQgp9Yn6aeYD+316WLPLDz4u9JiASsw=; b=NYPsxVcRSyoO3cSk8zEzhSDP3YqdFO9u1nzM+WKOOqEtXJjkU3MSVreLE2GYBUdf43 U4NnhvdbkNmP+ABcGBJJY4RD7M7RGFQCYoiLEvebSxoB3Z6r1XyEgH6ZbZExAYTL3dGv DdOVskVV5l4bhtRh/bowgYszZw0E4P7HG4UGY/ebjZvNTy5Ye+DPMwsZjXFxjygylqra V5wxy07mgRIzovHLfn9AEr+oz1hQNMD4k7RqVysDTY3SwykJoQlj5zcggYOwyNXNmED/ 1Wk2JWhCMS5JK0sOWdbWI/yVcV9/BYvWES5R+ycadUvlMudtPMc+dCPlQBNuDYlVArOL BAuQ== X-Gm-Message-State: AOAM533zGhH09HrITRWZNVszz7cAAkD8YJYEGjefKm2mTB2ElzBpDQq4 GnnHkjpUB5MlVf62V5XuNSQlGLz+/x07Cw== X-Received: by 2002:a1f:f20f:: with SMTP id q15mr13637378vkh.3.1635319344845; Wed, 27 Oct 2021 00:22:24 -0700 (PDT) Received: from mail-ua1-f45.google.com (mail-ua1-f45.google.com. [209.85.222.45]) by smtp.gmail.com with ESMTPSA id c12sm223539vkn.2.2021.10.27.00.22.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 Oct 2021 00:22:24 -0700 (PDT) Received: by mail-ua1-f45.google.com with SMTP id v20so3109351uaj.9; Wed, 27 Oct 2021 00:22:23 -0700 (PDT) X-Received: by 2002:a67:f4c9:: with SMTP id s9mr18113716vsn.35.1635319343494; Wed, 27 Oct 2021 00:22:23 -0700 (PDT) MIME-Version: 1.0 References: <20211025205631.21151-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20211025205631.21151-7-prabhakar.mahadev-lad.rj@bp.renesas.com> In-Reply-To: <20211025205631.21151-7-prabhakar.mahadev-lad.rj@bp.renesas.com> From: Geert Uytterhoeven Date: Wed, 27 Oct 2021 09:22:12 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 6/7] memory: renesas-rpc-if: Drop usage of RPCIF_DIRMAP_SIZE macro To: Lad Prabhakar Cc: Krzysztof Kozlowski , Rob Herring , Vignesh Raghavendra , Miquel Raynal , Richard Weinberger , Mark Brown , Philipp Zabel , Geert Uytterhoeven , Wolfram Sang , Sergei Shtylyov , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List , MTD Maling List , linux-spi , Linux-Renesas , Prabhakar , Biju Das Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 25, 2021 at 10:57 PM Lad Prabhakar wrote: > RPCIF_DIRMAP_SIZE may differ on various SoC's. Instead of using > RPCIF_DIRMAP_SIZE macro use resource size to get dirmap size > which is already part of struct rpcif. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Biju Das > Reviewed-by: Wolfram Sang Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds