From mboxrd@z Thu Jan 1 00:00:00 1970 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=-7.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no 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 DB994C43460 for ; Thu, 22 Apr 2021 07:32:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 95D986145D for ; Thu, 22 Apr 2021 07:32:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235137AbhDVHcp (ORCPT ); Thu, 22 Apr 2021 03:32:45 -0400 Received: from mx07-00178001.pphosted.com ([185.132.182.106]:51035 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231262AbhDVHcn (ORCPT ); Thu, 22 Apr 2021 03:32:43 -0400 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 13M7RMLf020720; Thu, 22 Apr 2021 09:31:47 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=selector1; bh=wTJYNLz+GeIRx9UYWWVLcnY81+zxFAKyL59IOj+tgpk=; b=LY/jstysQPl3u7xXFTEOpByLaLm1oYHRFir4cFClLkEt75V/f/T5PpCY9HTqIAdPW/c5 eR7X4IgRsNiaRIoroxxRmMWXfbIsEGDRp97wBeDz0Weny/nZ/ZDzyHtnPUpg4PiKmGgm UbiowOdNdV8KQifSXNJD+p5P6uUq7WsHDeQxCrRv5ZRN7GMiqxqMbrswpDnd+UPgp0p8 9vwcHe0d0wYTqd3dtc7fUfhj2CYc5Jdxf4xHN8P6eGqcK5hQCanarYS2u+aXoJUl5SRz DQ0vh5ml/EuoR78PtkbgDo+6xdZm9hfmSwTj1yeB1h1HEvKy0eS58LaenJcLuxLT8cJL mw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 382fften23-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 22 Apr 2021 09:31:47 +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 7CDE310002A; Thu, 22 Apr 2021 09:31:46 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag2node3.st.com [10.75.127.6]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 6B5A321F0AA; Thu, 22 Apr 2021 09:31:46 +0200 (CEST) Received: from lmecxl0573.lme.st.com (10.75.127.48) by SFHDAG2NODE3.st.com (10.75.127.6) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 22 Apr 2021 09:31:45 +0200 Subject: Re: [PATCH] spi: stm32-qspi: fix debug format string To: Arnd Bergmann , Mark Brown CC: Maxime Coquelin , Alexandre Torgue , Christophe Kerello , Zhang Qilong , linux-spi , , Linux ARM , Linux Kernel Mailing List References: <20210421140653.3964725-1-arnd@kernel.org> <20210421150510.GA36785@sirena.org.uk> From: Patrice CHOTARD Message-ID: Date: Thu, 22 Apr 2021 09:30:16 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.75.127.48] 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-22_01:2021-04-21,2021-04-21 signatures=0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mark, Arnd Regarding this issue, how do you prefer to proceed ? Patrice On 4/21/21 5:22 PM, Arnd Bergmann wrote: > On Wed, Apr 21, 2021 at 5:05 PM Mark Brown wrote: >> >> On Wed, Apr 21, 2021 at 04:06:48PM +0200, Arnd Bergmann wrote: >>> From: Arnd Bergmann >>> >>> Printing size_t needs a special %zd format modifier to avoid a >>> warning like: >> >> This doesn't apply against current code, please check and resend. > > It appears that you just applied 1b8a7d4282c0 ("spi: stm32-qspi: > Fix compilation warning in ARM64") after today's linux-next was > cut. > > I suspect Patrice's patch now causes a warning on all architectures > on which size_t is defined as 'unsigned int'. > > Arnd > From mboxrd@z Thu Jan 1 00:00:00 1970 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=-5.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no 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 F1595C433ED for ; Thu, 22 Apr 2021 07:34:10 +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 4D16F6145C for ; Thu, 22 Apr 2021 07:34:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4D16F6145C 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:In-Reply-To:MIME-Version:Date:Message-ID:From: References:CC:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=oNd962AxfUkUgr/Drd1432pF0CQSNQJZQIzSxyr29sY=; b=IVysn8QRkTx7AK/OdSbDVQ+mi 6KKzgbEKcYq6v9FYEi9OaeszuI2yuCxktSvZ8unGXqFCPtuDBNM3WJl9KuZG56RL9q6M/KyRXeX7v 4KUIGlVBlT4H7zox5LCaRP0h1pSzYYhScceLcJfTlXlPy5snROK1+I21Z3yeNrxNB7lte0HlSEgg8 MSP+v0g9kC8Pp5x4IB8L1m6Nudp3ZunMM+njZ29FKeK9C8kjQxtk1yV/m/XnFNupYkJx05wDzSS+d SXsggV4ImMr7YsmQhWdL1lyOX/VCnWdxjxaT9iHalXOYzt44J+GnvETfz6HvyeI6M0vD4nytCrvI3 zKNE/iJdQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lZTor-00G8tM-Fh; Thu, 22 Apr 2021 07:32:14 +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 1lZTom-00G8sX-Sl for linux-arm-kernel@desiato.infradead.org; Thu, 22 Apr 2021 07:32:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:CC:To: Subject:Sender:Reply-To:Content-ID:Content-Description; bh=wTJYNLz+GeIRx9UYWWVLcnY81+zxFAKyL59IOj+tgpk=; b=mpa4ccoJQTFWj9Jajtnx0lZh0P f5ZyKgNpEu3NlqBkj9lu36Ko6IG9zYGlVf/SLSC4eafKWYzj5YmfpnHhSYcpogNc6S4lqjpMFttC4 Zcc53zAGehtYyEJj1UbYvWhGnoyQqG4XzJMe3kuzp5ShXT8sRCNUSjTKgQ5OfbZvemTNA1xNuIzs4 soqL7c7MfvMvltAjnfzifddlXtMDBbXTt/UShzc2qu9yAo5Q7/AKPsfqsAia7E3cczn+Sk6RFer4w SfN4q0sCM6Sknoy1JFL7j+QcxnrTrkR0jBL14CnHh6uDK+aXQiv80tknxrYVDjs/kpbAgdi28fQPu aV9VKBCw==; Received: from mx07-00178001.pphosted.com ([185.132.182.106]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lZToj-00DSNl-KY for linux-arm-kernel@lists.infradead.org; Thu, 22 Apr 2021 07:32:07 +0000 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 13M7RMLf020720; Thu, 22 Apr 2021 09:31:47 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=selector1; bh=wTJYNLz+GeIRx9UYWWVLcnY81+zxFAKyL59IOj+tgpk=; b=LY/jstysQPl3u7xXFTEOpByLaLm1oYHRFir4cFClLkEt75V/f/T5PpCY9HTqIAdPW/c5 eR7X4IgRsNiaRIoroxxRmMWXfbIsEGDRp97wBeDz0Weny/nZ/ZDzyHtnPUpg4PiKmGgm UbiowOdNdV8KQifSXNJD+p5P6uUq7WsHDeQxCrRv5ZRN7GMiqxqMbrswpDnd+UPgp0p8 9vwcHe0d0wYTqd3dtc7fUfhj2CYc5Jdxf4xHN8P6eGqcK5hQCanarYS2u+aXoJUl5SRz DQ0vh5ml/EuoR78PtkbgDo+6xdZm9hfmSwTj1yeB1h1HEvKy0eS58LaenJcLuxLT8cJL mw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 382fften23-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 22 Apr 2021 09:31:47 +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 7CDE310002A; Thu, 22 Apr 2021 09:31:46 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag2node3.st.com [10.75.127.6]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 6B5A321F0AA; Thu, 22 Apr 2021 09:31:46 +0200 (CEST) Received: from lmecxl0573.lme.st.com (10.75.127.48) by SFHDAG2NODE3.st.com (10.75.127.6) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 22 Apr 2021 09:31:45 +0200 Subject: Re: [PATCH] spi: stm32-qspi: fix debug format string To: Arnd Bergmann , Mark Brown CC: Maxime Coquelin , Alexandre Torgue , Christophe Kerello , Zhang Qilong , linux-spi , , Linux ARM , Linux Kernel Mailing List References: <20210421140653.3964725-1-arnd@kernel.org> <20210421150510.GA36785@sirena.org.uk> From: Patrice CHOTARD Message-ID: Date: Thu, 22 Apr 2021 09:30:16 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-Originating-IP: [10.75.127.48] 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-22_01:2021-04-21, 2021-04-21 signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210422_003206_089851_5004CDBF X-CRM114-Status: GOOD ( 18.10 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Mark, Arnd Regarding this issue, how do you prefer to proceed ? Patrice On 4/21/21 5:22 PM, Arnd Bergmann wrote: > On Wed, Apr 21, 2021 at 5:05 PM Mark Brown wrote: >> >> On Wed, Apr 21, 2021 at 04:06:48PM +0200, Arnd Bergmann wrote: >>> From: Arnd Bergmann >>> >>> Printing size_t needs a special %zd format modifier to avoid a >>> warning like: >> >> This doesn't apply against current code, please check and resend. > > It appears that you just applied 1b8a7d4282c0 ("spi: stm32-qspi: > Fix compilation warning in ARM64") after today's linux-next was > cut. > > I suspect Patrice's patch now causes a warning on all architectures > on which size_t is defined as 'unsigned int'. > > Arnd > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel