From patchwork Thu Sep 5 18:33:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= X-Patchwork-Id: 11134583 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 127CC14ED for ; Fri, 6 Sep 2019 07:01:48 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 EB8EF218AE for ; Fri, 6 Sep 2019 07:01:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EB8EF218AE Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 877736E184; Fri, 6 Sep 2019 07:01:06 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by gabe.freedesktop.org (Postfix) with ESMTPS id B5FAA6E121; Thu, 5 Sep 2019 18:33:10 +0000 (UTC) Received: by mail-wr1-x444.google.com with SMTP id l16so3875836wrv.12; Thu, 05 Sep 2019 11:33:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=B5O8eGkbGw+ETECQevuBRCR0HQOeLcREPjZ6QhzTv+c=; b=XwXpW4cW0ZD9lF4L5BP57k8/nu3Lt5lP4lkV7LPjH+a2He/z7iMzAmRqwMhkY+IZiG lk/pYnFKVzK9CTmqugZbxVKmzQNKAnzL1QaRklMvJrrfJdF6IcccKh67+w8Ilq1ycv0R uEmnwB8DLqNEOVOPkPVCbAUlsJGuj/cqI+ZvVSHPBykzwvGBZmnw/lF/gAs7ExXZSSPZ vaJtpZP5OcPI5tH8eQsLwMaOrZAK967wzenbmezeKtzbLxG7vs/+q/ej0hAkgw63Yd4n Kxcw+GfunHsyNJwS/v9HIKXJWTPTwRi63qbDBs+ZC+jiN8zoSCvBY8zAZ9N0Hstam6mJ UapQ== X-Gm-Message-State: APjAAAUZyR277Yi8KRnkCqyU/HWsFoBp6PY7V0Ix6Fw2nmJWM60NpIy+ OlT8cvuR7sFmd7pFPiYeTJg= X-Google-Smtp-Source: APXvYqx+x9GUtN1lafnRmnXBSsfRNt5BA2TCgYoqdrKwy2zQ5dAjLgpIHWfDFQEmcv3vzIlepZ6/tw== X-Received: by 2002:adf:9050:: with SMTP id h74mr3739633wrh.191.1567708389260; Thu, 05 Sep 2019 11:33:09 -0700 (PDT) Received: from localhost.localdomain (ip5b4096c3.dynamic.kabel-deutschland.de. [91.64.150.195]) by smtp.gmail.com with ESMTPSA id o22sm5997845wra.96.2019.09.05.11.33.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Sep 2019 11:33:08 -0700 (PDT) From: Krzysztof Wilczynski To: David Airlie , Daniel Vetter Subject: [PATCH] drm/amd/display: Move static keyword to the front of declaration Date: Thu, 5 Sep 2019 20:33:06 +0200 Message-Id: <20190905183306.32670-1-kw@linux.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 06 Sep 2019 07:01:00 +0000 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=B5O8eGkbGw+ETECQevuBRCR0HQOeLcREPjZ6QhzTv+c=; b=Vmsh8nYxnAh2orLd9VI9I62UBJ6glfX/55rAjzstLrdFRdhaw5ET8IGXbqkKIZ59vS iHkfgmCqjZnoS0r9kpEWt4IyjeNE7dO/HGlzmJWqno8p8FSjJQwBEAxfdD83PG+hrE2+ I/S27/3KA+hzqQNIw29MPHO4Gt/qiufVujeeMafwUCNpWmw1Bby3/Xp7EJ9ppnC1ZddH Yyb+XzhE3D3wBD99xpBqMw0bw+JU+3IT3tw2w+3pLq+thSPkDS+8MKShOywUd9sy3FWp 7Kq84cbsEUYcWzOJ1RczkqxM6rIhVRPxGhHJO5DzEjGD2dVHIcuOzM7Zva/Spudqaian TcNA== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Chris Park , Eric Yang , Leo Li , David Francis , Wenjing Liu , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, Nicholas Kazlauskas , Aidan Wood , Dmytro Laktyushkin , Tony Cheng , dri-devel@lists.freedesktop.org, Alex Deucher , Jun Lei , Bhawanpreet Lakha , =?utf-8?q?Christian_K=C3=B6n?= =?utf-8?q?ig?= , Anthony Koo Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Move the static keyword to the front of declaration of DC_BUILD_ID, and resolve the following compiler warning that can be seen when building with warnings enabled (W=1): drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:75:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] Signed-off-by: Krzysztof Wilczynski --- Related: https://lore.kernel.org/r/20190827233017.GK9987@google.com drivers/gpu/drm/amd/display/dc/core/dc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c index 87ca5a290d12..a5a89bc0e1d1 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c @@ -72,7 +72,7 @@ #define DC_LOGGER \ dc->ctx->logger -const static char DC_BUILD_ID[] = "production-build"; +static const char DC_BUILD_ID[] = "production-build"; /** * DOC: Overview