From patchwork Tue Apr 20 08:21:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrice CHOTARD X-Patchwork-Id: 12213537 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 109CBC433B4 for ; Tue, 20 Apr 2021 08:23:46 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 5DC0B6113C for ; Tue, 20 Apr 2021 08:23:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5DC0B6113C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=foss.st.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=/ZEPCdRKEFRJENOoSmGnDZb/W9EmMxefeGOOj2vtJfg=; b=TE+v66qXRVRFfAW7VYtjvy7K3T FcQqalHxFWNnH1NGB9nGl70Y5EI2Oz4s5zm4K11eimOYqjlS/deCDAUYP79ObnU+HhZbGUiuMB0i5 cnzhXt2tzDaru+VoOrNkIoAgGZbzzhs4Cd5ncRht4DZ4OoJhwvy19HPCl2uF2Qrl+sf55P+h2I1wd +XRz0Ho68pKQ47sLZDbU3Nbdbl3aOSFnQ7A4r6w/DyDPXQiXppJgutq3ObZiAgUm1i1g6kCu2/9DN 3Mw5Q43RIGH9M4Vfx984V5w8echQiX1S3/nf7mZFS0sQRDS19wi5IJ4HI1cz2Po01AMR7zFdsaHzp Yf7Y6Zng==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lYldp-00BYs5-Ec; Tue, 20 Apr 2021 08:21:53 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lYldE-00BYkT-SG for linux-arm-kernel@desiato.infradead.org; Tue, 20 Apr 2021 08:21:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Type:MIME-Version:Message-ID: Date:Subject:CC:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:In-Reply-To:References; bh=YIJWK1DioMqVNMN2mgvx7hJC/xORUjRf1dKW+3jmUkE=; b=raISz1o7+zx/3dfZ6pF5vULdxJ 8Z4+vp0vFtc3/DRJavElxR0wTXd+eCr3M9B4mQeH+FbUA3/RcPfAMOAzwd3j3IK2A/Hdx5TtlCk9y fRIH7tE6EyzPCq5zJBcMw6x9x/hP/Cvon0j4Imy4fX3fkHYaRCQZyzaSb5MKslSjte7L6JD4g9vcw wvKa1Zm1HlN0nR1632MNv737u8dyXx0tixG4K6chPmAt+SmuzldgfK0YZOhRCBFxAgf7qiKA+r1TU MFx/8Kmodb3exYcDH13X6TpM8uqs6jT6pQ3OdFfjhaTvWAHeBLPA5lhRtzWbupjT2t+YQZuUcIAeA YXva/2Qg==; Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lYldB-00Buw9-75 for linux-arm-kernel@lists.infradead.org; Tue, 20 Apr 2021 08:21:15 +0000 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 13K8GZBI003437; Tue, 20 Apr 2021 10:21:08 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=selector1; bh=YIJWK1DioMqVNMN2mgvx7hJC/xORUjRf1dKW+3jmUkE=; b=Z88n7214ixOvq27HT8AqBaLYm4ezyi/TWZ1Aull1esAzb4SkdF7pe+0E19l9VD6380uy X7bO9ToqQIsEqVi6LaysOOR5dP+RSa5Q4h/8UiWO3f0KACL+IcUWdr48sX7ZDpJAoCfC /MtN18g4IHgZREDIIl6nhxbcL2muWgYImn3vTZmD39E4Eu7ng8fk23pqDFnVFnqCQzez PyZs+9x1q0r1Oc6QlgAcDkkZeEXHRper4k+vIefK4vWjVljKBPbIvzrfu+CBSUFKHjzX 4XN+GrkDhTs1BF/1Pn8DOKwlpGXggVOIZ+4FzEfcRaFbl4/JQItzhtb2xzuIdA5Z1/Do lQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 381jn8tdjp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 20 Apr 2021 10:21:08 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 3FD1710002A; Tue, 20 Apr 2021 10:21:07 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag2node3.st.com [10.75.127.6]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 2ADFC22F7B2; Tue, 20 Apr 2021 10:21:07 +0200 (CEST) Received: from localhost (10.75.127.51) by SFHDAG2NODE3.st.com (10.75.127.6) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 20 Apr 2021 10:21:06 +0200 From: To: Mark Brown , Alexandre Torgue CC: , , , , , Subject: spi: stm32-qspi: Fix compilation warning in ARM64 Date: Tue, 20 Apr 2021 10:21:03 +0200 Message-ID: <20210420082103.1693-1-patrice.chotard@foss.st.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.75.127.51] X-ClientProxiedBy: SFHDAG2NODE3.st.com (10.75.127.6) To SFHDAG2NODE3.st.com (10.75.127.6) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-04-20_02:2021-04-19, 2021-04-20 signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210420_012113_560017_F3A23CD6 X-CRM114-Status: GOOD ( 15.38 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Patrice Chotard This fixes warnings detected when compiling in ARM64. Introduced by 'commit 18674dee3cd6 ("spi: stm32-qspi: Add dirmap support")' Signed-off-by: Patrice Chotard --- drivers/spi/spi-stm32-qspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-stm32-qspi.c b/drivers/spi/spi-stm32-qspi.c index e2a99f054551..02691c1603d9 100644 --- a/drivers/spi/spi-stm32-qspi.c +++ b/drivers/spi/spi-stm32-qspi.c @@ -478,7 +478,7 @@ static ssize_t stm32_qspi_dirmap_read(struct spi_mem_dirmap_desc *desc, * all needed transfer information into struct spi_mem_op */ memcpy(&op, &desc->info.op_tmpl, sizeof(struct spi_mem_op)); - dev_dbg(qspi->dev, "%s len = 0x%x offs = 0x%llx buf = 0x%p\n", __func__, len, offs, buf); + dev_dbg(qspi->dev, "%s len = 0x%lx offs = 0x%llx buf = 0x%p\n", __func__, len, offs, buf); op.data.nbytes = len; op.addr.val = desc->info.offset + offs;