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=-14.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable 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 D5CF5C433B4 for ; Thu, 22 Apr 2021 16:49:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A956861422 for ; Thu, 22 Apr 2021 16:49:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238087AbhDVQuE (ORCPT ); Thu, 22 Apr 2021 12:50:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:41754 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236287AbhDVQtz (ORCPT ); Thu, 22 Apr 2021 12:49:55 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 791D661409; Thu, 22 Apr 2021 16:49:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1619110160; bh=axWE37eq5CgD/yuWEg0pILGXxgQdLfIdnB2oGBaHdjI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PydCb0ZkiH8Vug2p+NgUgK2XQGK4GIEjhCevOYXkJIlwY07CBN0W6xg2IlYgnC7vv 3zB73nBNUT1d65y9IdQa9z0CelRgXLKy2MH14N/HpH0jB+UqWTrslFAyOBax6AveIj WcMqjynBqDfy2FkITW8Nh6k59DyDuVqldh9ROB4OyxRiiEUD8aANEEcUYtoOFga9Rr f9/xzvUm4V4b5Pck3zsMsoJXWC37EyM3/EWlUtuXFyHjM+diRRrg4aj4dSL4eCCmCl KB7PexgKhNw0NueBldH2upC2yu+mp7NXXUk1Zi3ewYvLeM0OC79PTPYemqbX/+qIW9 heEhPiZNrA7EQ== From: Mark Brown To: Maxime Coquelin , Arnd Bergmann , Alexandre Torgue , Patrice Chotard Cc: Mark Brown , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, Christophe Kerello , Zhang Qilong , linux-stm32@st-md-mailman.stormreply.com, Arnd Bergmann Subject: Re: [PATCH] [v2] spi: stm32-qspi: fix debug format string Date: Thu, 22 Apr 2021 17:48:45 +0100 Message-Id: <161911005747.37738.3439795331125402090.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210422134955.1988316-1-arnd@kernel.org> References: <20210422134955.1988316-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 22 Apr 2021 15:38:57 +0200, Arnd Bergmann wrote: > Printing size_t needs a special %zx format modifier to avoid a > warning like: > > drivers/spi/spi-stm32-qspi.c:481:41: note: format string is defined here > 481 | dev_dbg(qspi->dev, "%s len = 0x%x offs = 0x%llx buf = 0x%p\n", __func__, len, offs, buf); > > Patrice already tried to fix this, but picked %lx instead of %zx, > which fixed some architectures but broke others in the same way. > Using %zx works everywhere. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] spi: stm32-qspi: fix debug format string commit: 14ef64ebdc2a4564893022780907747567452f6c All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark 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=-12.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,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 277FFC433ED for ; Thu, 22 Apr 2021 16:51:22 +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 D339E613AF for ; Thu, 22 Apr 2021 16:51:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D339E613AF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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:References:In-Reply-To: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:List-Owner; bh=k33t/QazznkdHGNHHzozHNcfh21jeAOYf4jlfB6rmWs=; b=bSYufCEx8FKpM4hje31J6nzQp S48L1fAdntdPFWGGQVwQvc8kn239EBwhpwzMYv6mPfbScg3ZY7y66KrPnhr6UXq89NNjbpfX7El9+ 3JxWqbzh7kHPLz1t9lBStamx2DtzM5BFuu4hb2cssxbfn7KKG/OxXoMPp8nfVuA5bD+UsfNPJPLqf UcgN9WUjjhY7HTUL9VgDn3mJRM2EkMwfWqbiDLAKJyiKVyIm4+3MoEZRW1aMs+hV0Mx/my+HxaCKz 5WlohT6BCLSzgNpYMjcvEiExFTYQMq/UpHq3Ux/QQnGlDZvAiW1w7XPBb795rdBEoDH30zMCNcP2B WpjX9R5xA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lZcW6-00H8AN-Ai; Thu, 22 Apr 2021 16:49:26 +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 1lZcW3-00H8AB-H6 for linux-arm-kernel@desiato.infradead.org; Thu, 22 Apr 2021 16:49:25 +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:MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Sender:Reply-To:Content-ID:Content-Description; bh=fczlotj2InXSGpjqQwA3Zr/uORyv6h6ZjgzRhCgSb+o=; b=YKMl88+cejehPNFQsaOXvWyqZr ajSHJOrgyTVLCSdtg2yD6k21EFGSbIs70sGFlqqeUAOi6Qz38lGtBNUfi3nFeUlDXHlRJL0VZxX72 WKO91VBzAtv/Mle/vqu1scV8rjfysyRFIDC4ObcbT+AjA03VYZuObrDkTv+fa+q919ThiRUQdj2R4 xJ6q95QzkB61fl9aEdYAA+e1yCeTS/nbkwvgF/0x2BTSQMbGxwyJ0n2XflWr+1bFcuCWkmH1TtLra BM2rVA96xNUjGrJofXTmUdZYJ+PQWMdgiO3gx2OAA2gGeLOhJ67uOnM4+F+GSg1U2y8+qIlq85Nx8 CtZXTnDQ==; Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lZcW0-00DrLU-Mr for linux-arm-kernel@lists.infradead.org; Thu, 22 Apr 2021 16:49:22 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 791D661409; Thu, 22 Apr 2021 16:49:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1619110160; bh=axWE37eq5CgD/yuWEg0pILGXxgQdLfIdnB2oGBaHdjI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PydCb0ZkiH8Vug2p+NgUgK2XQGK4GIEjhCevOYXkJIlwY07CBN0W6xg2IlYgnC7vv 3zB73nBNUT1d65y9IdQa9z0CelRgXLKy2MH14N/HpH0jB+UqWTrslFAyOBax6AveIj WcMqjynBqDfy2FkITW8Nh6k59DyDuVqldh9ROB4OyxRiiEUD8aANEEcUYtoOFga9Rr f9/xzvUm4V4b5Pck3zsMsoJXWC37EyM3/EWlUtuXFyHjM+diRRrg4aj4dSL4eCCmCl KB7PexgKhNw0NueBldH2upC2yu+mp7NXXUk1Zi3ewYvLeM0OC79PTPYemqbX/+qIW9 heEhPiZNrA7EQ== From: Mark Brown To: Maxime Coquelin , Arnd Bergmann , Alexandre Torgue , Patrice Chotard Cc: Mark Brown , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, Christophe Kerello , Zhang Qilong , linux-stm32@st-md-mailman.stormreply.com, Arnd Bergmann Subject: Re: [PATCH] [v2] spi: stm32-qspi: fix debug format string Date: Thu, 22 Apr 2021 17:48:45 +0100 Message-Id: <161911005747.37738.3439795331125402090.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210422134955.1988316-1-arnd@kernel.org> References: <20210422134955.1988316-1-arnd@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210422_094920_797969_5C790884 X-CRM114-Status: GOOD ( 12.50 ) 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 On Thu, 22 Apr 2021 15:38:57 +0200, Arnd Bergmann wrote: > Printing size_t needs a special %zx format modifier to avoid a > warning like: > > drivers/spi/spi-stm32-qspi.c:481:41: note: format string is defined here > 481 | dev_dbg(qspi->dev, "%s len = 0x%x offs = 0x%llx buf = 0x%p\n", __func__, len, offs, buf); > > Patrice already tried to fix this, but picked %lx instead of %zx, > which fixed some architectures but broke others in the same way. > Using %zx works everywhere. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] spi: stm32-qspi: fix debug format string commit: 14ef64ebdc2a4564893022780907747567452f6c All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel