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=-3.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,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 7AB2FC433ED for ; Fri, 16 Apr 2021 10:54:54 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (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 AFF356115B for ; Fri, 16 Apr 2021 10:54:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AFF356115B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4FMClc1vPkz3c2k for ; Fri, 16 Apr 2021 20:54:52 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ellerman.id.au header.i=@ellerman.id.au header.a=rsa-sha256 header.s=201909 header.b=iZYVOcCo; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=ellerman.id.au (client-ip=203.11.71.1; helo=ozlabs.org; envelope-from=mpe@ellerman.id.au; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ellerman.id.au header.i=@ellerman.id.au header.a=rsa-sha256 header.s=201909 header.b=iZYVOcCo; dkim-atps=neutral Received: from ozlabs.org (ozlabs.org [203.11.71.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4FMCl932WNz2yx9 for ; Fri, 16 Apr 2021 20:54:29 +1000 (AEST) 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 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 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Linux Next Mailing List , Linux Kernel Mailing List , Shivaprasad G Bhat Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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