From patchwork Thu Jun 5 17:30:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 31433 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f197.google.com (mail-vc0-f197.google.com [209.85.220.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id CB24D20BF9 for ; Thu, 5 Jun 2014 17:31:15 +0000 (UTC) Received: by mail-vc0-f197.google.com with SMTP id hq11sf6469419vcb.0 for ; Thu, 05 Jun 2014 10:31:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=+ax1Dw9KW3vEOoulMpNShSXj7dVb2a+JOtG32DKhTa0=; b=F7vEruD/Ia2/FXrc+rUPMxlaQSbIEYT0RMrS1Bu9m0yVK1vi68pF/8W1ROmHjN5Rsl Hee+ZlKj0du6z4ehVVUX2FTTYAm80kTR6DhL33wxP1HGyQyfMsRhAgq1E06VD1GibWt4 kDI1pxRIPLPgixYu5SP2TMLbqBRpjFSBR2RBaYUuq0OhhF1I8F6R2DwkFpAvqfekpQsh M518qVYrVzx7LOVMJ5B1BJtQI24sOjdGMhRJreL8u3TROd0o/ju0artMNErjXH4aG0gd YVUC6gwBwGzMyDDW/zI1b0depzXF1c6clM+Y/FCIROd1K9KCN/Sz7aiKZh1JCab7shDK iQhw== X-Gm-Message-State: ALoCoQlyx9Ndf8VDV6oUtseGHOq97zrrIMKAynmT0U78dq0GTExHlbikJpoBSTMgubjqpQ1GDQpx X-Received: by 10.236.229.161 with SMTP id h31mr22354488yhq.21.1401989475562; Thu, 05 Jun 2014 10:31:15 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.80.139 with SMTP id c11ls330735qgd.66.gmail; Thu, 05 Jun 2014 10:31:15 -0700 (PDT) X-Received: by 10.221.9.72 with SMTP id ov8mr12874399vcb.27.1401989475493; Thu, 05 Jun 2014 10:31:15 -0700 (PDT) Received: from mail-ve0-f171.google.com (mail-ve0-f171.google.com [209.85.128.171]) by mx.google.com with ESMTPS id sw4si4227487vdc.69.2014.06.05.10.31.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 05 Jun 2014 10:31:15 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.171 as permitted sender) client-ip=209.85.128.171; Received: by mail-ve0-f171.google.com with SMTP id oz11so1626146veb.30 for ; Thu, 05 Jun 2014 10:31:15 -0700 (PDT) X-Received: by 10.58.245.2 with SMTP id xk2mr52890936vec.9.1401989475393; Thu, 05 Jun 2014 10:31:15 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.221.54.6 with SMTP id vs6csp34235vcb; Thu, 5 Jun 2014 10:31:14 -0700 (PDT) X-Received: by 10.14.203.71 with SMTP id e47mr108596eeo.50.1401989473572; Thu, 05 Jun 2014 10:31:13 -0700 (PDT) Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) by mx.google.com with ESMTPS id eg1si16429040wib.76.2014.06.05.10.31.09 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 05 Jun 2014 10:31:10 -0700 (PDT) Received-SPF: pass (google.com: domain of peter.griffin@linaro.org designates 209.85.212.170 as permitted sender) client-ip=209.85.212.170; Received: by mail-wi0-f170.google.com with SMTP id bs8so10080711wib.3 for ; Thu, 05 Jun 2014 10:31:09 -0700 (PDT) X-Received: by 10.180.212.77 with SMTP id ni13mr22292wic.5.1401989468868; Thu, 05 Jun 2014 10:31:08 -0700 (PDT) Received: from griffinp-ThinkPad-X1-Carbon-2nd.lan ([31.185.189.235]) by mx.google.com with ESMTPSA id em5sm16630376wic.23.2014.06.05.10.31.07 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 05 Jun 2014 10:31:07 -0700 (PDT) From: Peter Griffin To: linux-kernel@vger.kernel.org Cc: peter.griffin@linaro.org, patches@linaro.org, lee.jones@linaro.org, David Airlie , dri-devel@lists.freedesktop.org Subject: [PATCH 1/2] drm/plane-helper: storage class should be before const qualifier Date: Thu, 5 Jun 2014 18:30:57 +0100 Message-Id: <1401989458-450-1-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.griffin@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.171 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The C99 specification states in section 6.11.5: The placement of a storage-class specifier other than at the beginning of the declaration specifiers in a declaration is an obsolescent feature. Signed-off-by: Peter Griffin Cc: David Airlie Cc: dri-devel@lists.freedesktop.org Cc: linux-kernel@vger.kernel.org --- drivers/gpu/drm/drm_plane_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_plane_helper.c b/drivers/gpu/drm/drm_plane_helper.c index d2b1c03..88a6c49 100644 --- a/drivers/gpu/drm/drm_plane_helper.c +++ b/drivers/gpu/drm/drm_plane_helper.c @@ -36,7 +36,7 @@ * creating the primary plane. However drivers that still call * drm_plane_init() will use this minimal format list as the default. */ -const static uint32_t safe_modeset_formats[] = { +static const uint32_t safe_modeset_formats[] = { DRM_FORMAT_XRGB8888, DRM_FORMAT_ARGB8888, };