Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp8228015ybi; Thu, 6 Jun 2019 08:41:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqxK0XEjOgYVzi+KJy7VS3kpNPuYMTO3WXnkOrxgHnpzK4hFjy0m08VZWt5GVrXw6XpxVqw+ X-Received: by 2002:a17:902:f082:: with SMTP id go2mr51674040plb.279.1559835671587; Thu, 06 Jun 2019 08:41:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559835671; cv=none; d=google.com; s=arc-20160816; b=FMZ3pAfF5w9G1wTbxqrdGDpDhRS2GCF7qf+Sbi+8c6X4h7fhSrnHHJmzWBYV7Ns1OA ThC00I+hp4OvnEjI48uDn6kNnj8o04Zwhm5hTunNPd/jkDXcmL9BXi3TdFtLw3o/WbpY xHWP1W76s5jo2xE58wNjUGDBGphadRzCpJ337ThXXHZxVjKFEN3fl1EdCMi45KORkyr/ nKtUV/cmUJANobGBTVCGAZWlY6B1XiPkXEzxV32dz0gaQHVLMPgmVAocg8nzcfrvV2gi s1orELEn49QDG6l4e7SEikFewujSNlflUg0sa/oFGI/wevUUhBoP6rPkoIQX9DdehEJD ebew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=0pAtotSJEz0Oq/4HijmUh/DcrMTc2nG2Sv62SxAD2VI=; b=l1k7zv4VEzxUwjDnFyisNbBMecR+iro1r4DO8JAxG3VLCeKnonlIL5K8rcdU5+4KgD r479YKukBBhgQlX4q7uw//VkEg3ALgERNZDq0Kn7e5s3/GbJ5lhtRvw1KAm5Ktzy0SPy 43dEZDnPYQoVYYyH+3NbCXTGFTuGvm3nbLvY5Opt14WZhyRKkhwxHfUoau+4jwzAdsVo ywfAg8l35gFEsBDUR+38KvCEaEetE4mr5Pe86WsNy7ibB9U8113ZxNVVmBo6UDSLHbBm hQMzYcg/pnMaWpen9bZPVZ9T7lTKO6CsCD2nlK1tkV14SmcffnTisVAnh8IjmGo2Cofe SQcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=LwP8SIjF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f8si2247519pgo.380.2019.06.06.08.40.52; Thu, 06 Jun 2019 08:41:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=LwP8SIjF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729306AbfFFPiu (ORCPT + 99 others); Thu, 6 Jun 2019 11:38:50 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:47922 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729137AbfFFPit (ORCPT ); Thu, 6 Jun 2019 11:38:49 -0400 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x56FVgpD018120; Thu, 6 Jun 2019 17:38:47 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=STMicroelectronics; bh=0pAtotSJEz0Oq/4HijmUh/DcrMTc2nG2Sv62SxAD2VI=; b=LwP8SIjFnyThM2xV6pxcguKkhdQw8+gNWiDZqb1wkpIKecKY5aRfxv/brHabnorZwefm CE0aM4SWpdEaX3ayjsQ+3HQW/AnSuL8APjwtK3immLwl2cDmDeqwNA7Eg5FYKFCYZlHu nqfv/ns/BTlMZSghUVRqj4RhrSDM5szN8A/a/CkOffU+kvp8FLvjtAPA3txZ7S4LyRWA nT60t89Cd9W3eRtHEHUIeO6VJ9tm2aB03B87STrwQzioiv17+hWfcZjwpbb3d9IBvgRj dUQd5EFVNBuQnhBrjrhOJcQ2OGlozfDCegkOA2GKf4xRGeJotUyQSDxv580a7ilDhAr6 QQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2sxqycv5v8-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 06 Jun 2019 17:38:47 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id A8BF23A; Thu, 6 Jun 2019 15:38:46 +0000 (GMT) Received: from Webmail-eu.st.com (Safex1hubcas21.st.com [10.75.90.44]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 8160D2A49; Thu, 6 Jun 2019 15:38:46 +0000 (GMT) Received: from SAFEX1HUBCAS23.st.com (10.75.90.47) by SAFEX1HUBCAS21.st.com (10.75.90.44) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 6 Jun 2019 17:38:46 +0200 Received: from localhost (10.48.0.131) by webmail-ga.st.com (10.75.90.48) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 6 Jun 2019 17:38:45 +0200 From: Arnaud Pouliquen To: Bjorn Andersson , Ohad Ben-Cohen CC: , , , Subject: [PATCH] remoteproc: debug: fix va dump format in carveout list Date: Thu, 6 Jun 2019 17:38:39 +0200 Message-ID: <1559835519-8165-1-git-send-email-arnaud.pouliquen@st.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.48.0.131] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-06-06_11:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Standardize dump presentation for va, dma and da dumps by adding "0x" prefix for virtual address. Fixes: 276ec9934231("remoteproc: replace "%p" with "%pK"") Signed-off-by: Arnaud Pouliquen --- drivers/remoteproc/remoteproc_debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/remoteproc/remoteproc_debugfs.c b/drivers/remoteproc/remoteproc_debugfs.c index 6da934b8dc4b..91d3a75f0b41 100644 --- a/drivers/remoteproc/remoteproc_debugfs.c +++ b/drivers/remoteproc/remoteproc_debugfs.c @@ -298,7 +298,7 @@ static int rproc_carveouts_show(struct seq_file *seq, void *p) list_for_each_entry(carveout, &rproc->carveouts, node) { seq_puts(seq, "Carveout memory entry:\n"); seq_printf(seq, "\tName: %s\n", carveout->name); - seq_printf(seq, "\tVirtual address: %pK\n", carveout->va); + seq_printf(seq, "\tVirtual address: 0x%pK\n", carveout->va); seq_printf(seq, "\tDMA address: %pad\n", &carveout->dma); seq_printf(seq, "\tDevice address: 0x%x\n", carveout->da); seq_printf(seq, "\tLength: 0x%x Bytes\n\n", carveout->len); -- 2.7.4