From patchwork Fri Jun 5 12:55:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Lee X-Patchwork-Id: 11589589 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E01201391 for ; Fri, 5 Jun 2020 12:56:09 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 91E5E206A2 for ; Fri, 5 Jun 2020 12:56:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="JNZcntMZ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 91E5E206A2 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=allwinnertech.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=7bB1iY4PA/uUYW6NStWPBgH0Sor+6sE2AHkAc+V+HT0=; b=JNZcntMZ3MaBKt CKpZ9AMtK/zJfWQpJx6HL0/xNMEUvNzE4AFKd2PHRajY5aa00nVuzMOHkasKr6OsuYntMJTLuJtFM GAijTKfxrayw8N/nyAnWRRuw6HWbhpqWPvpd5YUQSLa+FMd3KJWJfXfJjVhbRlE6NWXQVw2XkSkt6 oNxpRaobG4LuTqiS1FboQhzQWqVeY0GMiQBqxivG4KIudmcwIWZBEooxiI2+DQ+nxBOob/w/nXA2y 7Zjn4XjfrYNMlWGZo4ko7GLn/CzrbtBqj743NIEcoe7oRPxHK47T71at6KTFZdoC1hw79yeACtcxJ egjq0UU5PGD7H3BI5hPA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jhBtF-0003CJ-PH; Fri, 05 Jun 2020 12:56:05 +0000 Received: from smtp2207-205.mail.aliyun.com ([121.197.207.205]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jhBt3-0002zi-WA; Fri, 05 Jun 2020 12:55:56 +0000 X-Alimail-AntiSpam: AC=CONTINUE; BC=0.1869643|-1; CH=green; DM=|CONTINUE|false|; DS=CONTINUE|ham_social|0.00106272-0.000406173-0.998531; FP=0|0|0|0|0|-1|-1|-1; HT=e02c03294; MF=frank@allwinnertech.com; NM=1; PH=DS; RN=13; RT=13; SR=0; TI=SMTPD_---.Hib7hso_1591361738; Received: from allwinnertech.com(mailfrom:frank@allwinnertech.com fp:SMTPD_---.Hib7hso_1591361738) by smtp.aliyun-inc.com(10.147.41.143); Fri, 05 Jun 2020 20:55:47 +0800 From: Frank Lee To: chaotian.jing@mediatek.com, ulf.hansson@linaro.org, matthias.bgg@gmail.com, mripard@kernel.org, wens@csie.org, tiny.windzz@gmail.com, rmfrfs@gmail.com, frank@allwinnertech.com, marex@denx.de, linux-mmc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] mmc: mediatek: do not hide address in msdc_request_timeout() Date: Fri, 5 Jun 2020 20:55:45 +0800 Message-Id: <20200605125545.31974-2-frank@allwinnertech.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20200605125545.31974-1-frank@allwinnertech.com> References: <20200605125545.31974-1-frank@allwinnertech.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200605_055554_221760_FF0E2262 X-CRM114-Status: UNSURE ( 8.01 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [121.197.207.205 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Yangtao Li Using %px to show the actual address in msdc_request_timeout() to help us to debug issue. Signed-off-by: Yangtao Li Signed-off-by: Frank Lee --- drivers/mmc/host/mtk-sd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.c index 39e7fc54c438..28b4a136fc72 100644 --- a/drivers/mmc/host/mtk-sd.c +++ b/drivers/mmc/host/mtk-sd.c @@ -1411,7 +1411,7 @@ static void msdc_request_timeout(struct work_struct *work) /* simulate HW timeout status */ dev_err(host->dev, "%s: aborting cmd/data/mrq\n", __func__); if (host->mrq) { - dev_err(host->dev, "%s: aborting mrq=%p cmd=%d\n", __func__, + dev_err(host->dev, "%s: aborting mrq=%px cmd=%d\n", __func__, host->mrq, host->mrq->cmd->opcode); if (host->cmd) { dev_err(host->dev, "%s: aborting cmd=%d\n",