From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754495AbdKAJ6l (ORCPT ); Wed, 1 Nov 2017 05:58:41 -0400 Received: from mail.free-electrons.com ([62.4.15.54]:46617 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754212AbdKAJ6j (ORCPT ); Wed, 1 Nov 2017 05:58:39 -0400 Date: Wed, 1 Nov 2017 10:58:37 +0100 From: Boris Brezillon To: Stephen Rothwell Cc: Dave Airlie , Linux-Next Mailing List , Linux Kernel Mailing List , Eric Anholt Subject: Re: linux-next: build warnings after merge of the drm tree Message-ID: <20171101105837.75bc2be5@bbrezillon> In-Reply-To: <20171101141640.3ca7597f@canb.auug.org.au> References: <20171101141640.3ca7597f@canb.auug.org.au> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Stephen, On Wed, 1 Nov 2017 14:16:40 +1100 Stephen Rothwell wrote: > Hi Dave, > > After merging the drm tree, today's linux-next build (x86_64 allmodconfig) > produced these warnings: > > drivers/gpu/drm/vc4/vc4_bo.c: In function 'vc4_bo_stats_debugfs': > drivers/gpu/drm/vc4/vc4_bo.c:91:17: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=] > seq_printf(m, "%30s: %6dkb BOs (%d)\n", "userspace BO cache", > ^ > drivers/gpu/drm/vc4/vc4_bo.c:95:17: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=] > seq_printf(m, "%30s: %6dkb BOs (%d)\n", "total purged BO", > ^ > > Introduced by commit > > b9f19259b84d ("drm/vc4: Add the DRM_IOCTL_VC4_GEM_MADVISE ioctl") > Just sent a patch fixing the problem. Thanks for the report. Boris