Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2987409pxf; Sun, 14 Mar 2021 20:19:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyyljPbylc34555Qxjvk2dkFe6+RhizvNZ6Hx3rGS1EALqoVHTaq4qZ8/Mkoistha/5hQL+ X-Received: by 2002:a17:906:938f:: with SMTP id l15mr21132621ejx.15.1615778388504; Sun, 14 Mar 2021 20:19:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615778388; cv=none; d=google.com; s=arc-20160816; b=A5k3JTI8dTCcVIJyP7UF8cDw938bfSCbsyPGnXiTylJyDplasypSALTAGB9IbDXh1B 0YV6fL6UQfpKQ3LvhZWrHeU5b2Jcsad1OhFpYFDQ+lfOH27ileZq/qegap0rWueigBlI IOliH2/LkwJ5GNeegbYNC2yVoA8ujntCfJPv9nDZh8ZBDp/h67qQcDOSZcTrsVVM3ELU 96Xjb0iudf8sK4nQhZ+CigxFqYcnUuFUofSiYo1mXNCMmqmKRmSS7BAbUvicVpSBwqfk UHEFW4KtRJdoDNVaYX5G8v95fTakRXAO4u0qrpu/AgsCfMJQQN9s619cApTSAVI+3e2l DWmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=A3oSUi/UHyvODn2iAEgaYMBdI8ZfE1MGKpYHvzVlBD8=; b=YzhKi/ib4THq1gfes6stL+RxQ/vaeYa4OptPaGwEUlH/sKpL1MhjGYaUdA2hL1s8/U 9utFEVf8DNq/eeJg3A2wlZjjPkJiFbdypV7Be7PAurzIxF7GbN1CwNFte+h0qMQLte8p C/DCVAkrRfrOVBTxV2VQ80ixnnD1s3X3TCGOKblMwWiZVOEc9lhwImYEf9FF57WUz+MN A3rQLwUhvq+mRKjWJhNa3ZQTJVIu56iQur06HOZO4IMU7bHUNRKexUe5hebUwz3PuCDL 6tpwmtFkZLhTmWkwTy6ouQy3UON03qFWX4EVhpYLr90iIZhaWQ4vNljb3D6E1xWUihq5 /a0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Mcz2Kz/8"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n5si10359297eji.285.2021.03.14.20.19.26; Sun, 14 Mar 2021 20:19:48 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Mcz2Kz/8"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229821AbhCODSO (ORCPT + 99 others); Sun, 14 Mar 2021 23:18:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229679AbhCODRr (ORCPT ); Sun, 14 Mar 2021 23:17:47 -0400 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DC1FC061574; Sun, 14 Mar 2021 20:17:46 -0700 (PDT) Received: by mail-pl1-x629.google.com with SMTP id d23so11373504plq.2; Sun, 14 Mar 2021 20:17:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=A3oSUi/UHyvODn2iAEgaYMBdI8ZfE1MGKpYHvzVlBD8=; b=Mcz2Kz/8NugpP2eOCFKYqqihaLdnfTlrIToa2jAfUAFtK8nF+8b5+HMC0iZWV7WwH9 /gxJ460YRfAVfGqYFc+Cy8cMBcaQNN5n3Olq2FT95PiriNijtQPNgWARGlZQssZ/MvOA dI8d45hy7m5c/ryJv6ydeStBb9t9tjMczP0qgqFsuNMn0oBSUYk+EvQrJfvXQ1abJkdD D6f3SD25UB8Qqw6rzjgAmmdwxDCzXf/tn+1qCE2A109GgnOGnMgeG40JMkkLE7s56ywi pAmNRIYxEYIQ9D4DCKoaTBzNxhmjTg8F3iOkXfb3fP1Sq2Ka4AVhUqaKNUpkfeXX7TXU 1kmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=A3oSUi/UHyvODn2iAEgaYMBdI8ZfE1MGKpYHvzVlBD8=; b=fBxdIOl1+XZ/vQYunfa304eHnvBpFG4NPie35jWJeDKIj7ReaEIoOncn4w2WXnyYBW ATaBehslVjXsHlLVhndTr1oUxU2qonKlLhZEop2OpMaYP43GI1teU5eGGNCSXWGuFlr4 VSsGEDNXepXaVJVqlpgkCzOdy1O8blbMpH4MDP/PDoOpk6iiSkwAZGxfLCeDAujdvois ItOtiueET70tQhTZlW528thRsRi0oER3ebEmi0I2zfJSrxoqytVfHOxTovXFqzWn0aEs JXDczhIhBwTVQhkrn0AI/QQvtg7EwhwRuVVaNKkBZ9TGE1qL+pDbH6hI7Px0y1zoSwKw RGCA== X-Gm-Message-State: AOAM530A5SlweLUtzqzDOB4pGRtnz0eGtCdf6VNRFx0ZfFRE26abAfwM 3+Pb5pk+4Rd9DTuVqjrJFty8Qc1kaAwF7A== X-Received: by 2002:a17:90a:ea96:: with SMTP id h22mr10351284pjz.24.1615778265901; Sun, 14 Mar 2021 20:17:45 -0700 (PDT) Received: from Asurada-Nvidia (thunderhill.nvidia.com. [216.228.112.22]) by smtp.gmail.com with ESMTPSA id k15sm11855229pgt.23.2021.03.14.20.17.44 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 14 Mar 2021 20:17:45 -0700 (PDT) Date: Sun, 14 Mar 2021 20:15:31 -0700 From: Nicolin Chen To: Dmitry Osipenko Cc: joro@8bytes.org, thierry.reding@gmail.com, will@kernel.org, vdumpa@nvidia.com, jonathanh@nvidia.com, linux-tegra@vger.kernel.org, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] iommu/tegra-smmu: Add pagetable mappings to debugfs Message-ID: <20210315031530.GA15245@Asurada-Nvidia> References: <20210314080653.29374-1-nicoleotsuka@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 14, 2021 at 06:08:00PM +0300, Dmitry Osipenko wrote: > 14.03.2021 11:06, Nicolin Chen пишет: > > + for (pd_index = 0; pd_index < SMMU_NUM_PDE; pd_index++) { > > + struct page *pt_page; > > + u32 *addr; > > + int i; > > unsigned int > > and then printf specifiers also should be %u Fixing it, using your previous changes too. Thanks!