From patchwork Fri Jan 18 20:27:40 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Widawsky X-Patchwork-Id: 2004261 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork2.kernel.org (Postfix) with ESMTP id 924DADF280 for ; Fri, 18 Jan 2013 20:26:42 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 184F2E5DD2 for ; Fri, 18 Jan 2013 12:26:42 -0800 (PST) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from shiva.chad-versace.us (209-20-75-48.static.cloud-ips.com [209.20.75.48]) by gabe.freedesktop.org (Postfix) with ESMTP id A3B9BE5C67 for ; Fri, 18 Jan 2013 12:26:32 -0800 (PST) Received: by shiva.chad-versace.us (Postfix, from userid 1005) id 10D6488121; Fri, 18 Jan 2013 20:29:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on shiva.chad-versace.us X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable version=3.3.2 Received: from lundgren.amr.corp.intel.com (jfdmzpr04-ext.jf.intel.com [134.134.137.73]) by shiva.chad-versace.us (Postfix) with ESMTPSA id 0E1EB88006; Fri, 18 Jan 2013 20:29:02 +0000 (UTC) From: Ben Widawsky To: intel-gfx@lists.freedesktop.org Date: Fri, 18 Jan 2013 12:27:40 -0800 Message-Id: <1358540860-20181-1-git-send-email-ben@bwidawsk.net> X-Mailer: git-send-email 1.8.1.1 In-Reply-To: <50f88391.I4h3Jlz7agViZhr9%fengguang.wu@intel.com> References: <50f88391.I4h3Jlz7agViZhr9%fengguang.wu@intel.com> Cc: Daniel Vetter , Ben Widawsky , Fenguang Wu , dri-devel@lists.freedesktop.org Subject: [Intel-gfx] [PATCH 1/5] drm/i915: Fix %z from last patch. X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org Hmm, for whatever reason, my gcc doesn't complain about this, so I am not really sure what's going on. Fix for [drm-intel:drm-intel-next-queued 17/20] drivers/gpu/drm/i915/i915_debugfs.c:263:6: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'long unsigned int' Found by Fenguang's 0-DAY kernel build testing Recommend to squash this in to, since it is not on an upstream branch yet. commit 00fc2c3c53d7bfc9a29e5f4bdf2677f0c399f3bc Author: Ben Widawsky Date: Thu Jan 17 12:45:14 2013 -0800 drm/i915: Remove gtt_mappable_total Cc: dri-devel@lists.freedesktop.org Cc: Fenguang Wu Cc: Daniel Vetter Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/i915_debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c index 773b23e..90a6fc5 100644 --- a/drivers/gpu/drm/i915/i915_debugfs.c +++ b/drivers/gpu/drm/i915/i915_debugfs.c @@ -258,7 +258,7 @@ static int i915_gem_object_info(struct seq_file *m, void* data) seq_printf(m, "%u fault mappable objects, %zu bytes\n", count, size); - seq_printf(m, "%zu [%zu] gtt total\n", + seq_printf(m, "%zu [%lu] gtt total\n", dev_priv->gtt.total, dev_priv->gtt.mappable_end - dev_priv->gtt.start);