From patchwork Mon Jun 18 05:39:56 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 9379 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 9AD9C23EB4 for ; Mon, 18 Jun 2012 05:51:34 +0000 (UTC) Received: from mail-yx0-f180.google.com (mail-yx0-f180.google.com [209.85.213.180]) by fiordland.canonical.com (Postfix) with ESMTP id 60EDAA186A6 for ; Mon, 18 Jun 2012 05:51:34 +0000 (UTC) Received: by yenq6 with SMTP id q6so3792330yen.11 for ; Sun, 17 Jun 2012 22:51:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:x-gm-message-state; bh=OtD50iVIcVBW+ItZlW5AHRm8R1NYhd5x6e5ZhRuCp4c=; b=VgataUywTDZ2MqvHZK26ks6JxxsW4CfbNVILIFVUl4v1fiMMW+EDCT8o1WcpBGs7Wf bS002r0Falnn+Du4Jm1tflRLds5aeTd47pv5cLul19P4b9sOxNaDUp0BHfPH0Eu7ixvI YZMvGIYH+aSYvJbBiPaP23k1R2tete03nt5/X7/4fD0jRmsdq0ZU5Q6UsGaQavAu1WFM jgzLBhmi6EJ1XCPYmKlkwvrF7OkaqlcYYc5yE1ouraPxF/xHKr/QmZmk/+aGfpg7nsak yKBJsIoDUg9ucRrWkvuuvlGDNx0Cvcund8DsEmU3cRs+jv6+YKb3WbjMnVxZYBSXkjRs 48Cw== Received: by 10.50.40.193 with SMTP id z1mr4248294igk.0.1339998693545; Sun, 17 Jun 2012 22:51:33 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.24.148 with SMTP id v20csp48538ibb; Sun, 17 Jun 2012 22:51:33 -0700 (PDT) Received: by 10.68.201.9 with SMTP id jw9mr48584000pbc.28.1339998692853; Sun, 17 Jun 2012 22:51:32 -0700 (PDT) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id gg3si16248260pbc.199.2012.06.17.22.51.32 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 17 Jun 2012 22:51:32 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by pbbrr4 with SMTP id rr4so8918744pbb.37 for ; Sun, 17 Jun 2012 22:51:32 -0700 (PDT) Received: by 10.68.240.69 with SMTP id vy5mr17729393pbc.156.1339998692572; Sun, 17 Jun 2012 22:51:32 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id vc6sm22687371pbc.6.2012.06.17.22.51.30 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 17 Jun 2012 22:51:31 -0700 (PDT) From: Sachin Kamat To: dri-devel@lists.freedesktop.org Cc: airlied@linux.ie, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 1/1] drm: Add missing static storage class specifier Date: Mon, 18 Jun 2012 11:09:56 +0530 Message-Id: <1339997996-20581-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQkZ15KvFa6GoAUqNKM/1ZHtWwl1nbDvMCtLesVRGjkxs6ko8vmF8qO7Iq8TcR2edEuf/aNw Signed-off-by: Sachin Kamat Fixes the following sparse warning: drivers/gpu/drm/drm_info.c:238:5: warning: symbol 'drm_gem_one_name_info' was not declared. Should it be static? --- drivers/gpu/drm/drm_info.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/drm_info.c b/drivers/gpu/drm/drm_info.c index ab1162d..4076a33 100644 --- a/drivers/gpu/drm/drm_info.c +++ b/drivers/gpu/drm/drm_info.c @@ -235,7 +235,7 @@ int drm_clients_info(struct seq_file *m, void *data) } -int drm_gem_one_name_info(int id, void *ptr, void *data) +static int drm_gem_one_name_info(int id, void *ptr, void *data) { struct drm_gem_object *obj = ptr; struct seq_file *m = data;