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.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS 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 6F4C9C433B4 for ; Fri, 16 Apr 2021 10:54:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4AA1F611AE for ; Fri, 16 Apr 2021 10:54:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238871AbhDPKyz (ORCPT ); Fri, 16 Apr 2021 06:54:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235204AbhDPKyz (ORCPT ); Fri, 16 Apr 2021 06:54:55 -0400 Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7AB9CC061574; Fri, 16 Apr 2021 03:54:30 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4FMCl81mhzz9sPf; Fri, 16 Apr 2021 20:54:27 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ellerman.id.au; s=201909; t=1618570468; bh=w71juXyapLY2HfkoLFGy3st5SAilCYUy4fi+4MSN8g0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=iZYVOcCol2VIJfHXJckS8F8j14xAQvToAZO/wUEtccqzP5pyS1/qpk64L4lNh/Jn8 g/DdhnFrWRM9PoFR/yZ+fiEP4kJpZT3MsLLrSaK3anAtEubaAqQP7uaRsyU4Til/YT W/dgt9Bx44pOEy+G3YVW2wN0DvzOyKv2dlqTqnuAq7xNy/D7KARo3VR5HWA7E88lBV DSHpRwWqDFyKbA34lw0tTTJ90yHT5ArR4kuTIzLyQX6MdBMiVTu6pnUIsR3kybsHOe aSjAInNRqePkb0iNcDyxJXvU64nGP8G6OQfINpm92iUMm36wPk0OmRGux4WyCyA+x+ O1N6GMmkb/5+Q== From: Michael Ellerman To: Stephen Rothwell , PowerPC Cc: Shivaprasad G Bhat , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build warning after merge of the powerpc tree In-Reply-To: <20210415185214.01e1e64f@canb.auug.org.au> References: <20210415185214.01e1e64f@canb.auug.org.au> Date: Fri, 16 Apr 2021 20:54:25 +1000 Message-ID: <87o8eeebz2.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org Stephen Rothwell writes: > Hi all, > > After merging the powerpc tree, today's linux-next build (powerpc > allyesconfig) produced this warning: > > In file included from include/linux/device.h:15, > from arch/powerpc/include/asm/io.h:27, > from include/linux/io.h:13, > from include/linux/irq.h:20, > from arch/powerpc/include/asm/hardirq.h:6, > from include/linux/hardirq.h:11, > from include/linux/highmem.h:10, > from include/linux/bio.h:8, > from include/linux/libnvdimm.h:14, > from arch/powerpc/platforms/pseries/papr_scm.c:12: > arch/powerpc/platforms/pseries/papr_scm.c: In function 'papr_scm_pmem_flush': > arch/powerpc/platforms/pseries/papr_scm.c:144:26: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long int' [-Wformat=] > 144 | dev_err(&p->pdev->dev, "flush error: %lld", rc); > | ^~~~~~~~~~~~~~~~~~~ > include/linux/dev_printk.h:19:22: note: in definition of macro 'dev_fmt' > 19 | #define dev_fmt(fmt) fmt > | ^~~ > arch/powerpc/platforms/pseries/papr_scm.c:144:3: note: in expansion of macro 'dev_err' > 144 | dev_err(&p->pdev->dev, "flush error: %lld", rc); > | ^~~~~~~ > arch/powerpc/platforms/pseries/papr_scm.c:144:43: note: format string is defined here > 144 | dev_err(&p->pdev->dev, "flush error: %lld", rc); > | ~~~^ > | | > | long long int > | %ld > > Introduced by commit > > 75b7c05ebf90 ("powerpc/papr_scm: Implement support for H_SCM_FLUSH hcall") My bad. cheers