Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1854662ybe; Tue, 3 Sep 2019 04:38:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqyRL/bINFf8zpy7A1nX9IPluPyMFs3CUNfphA+m7a8zTQ2xdKvq3uckdph4h75QZIo+AJmY X-Received: by 2002:a17:902:8696:: with SMTP id g22mr34988911plo.122.1567510690320; Tue, 03 Sep 2019 04:38:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567510690; cv=none; d=google.com; s=arc-20160816; b=XfP5SuvoqGO3LUmMX1OtDqdtNOSvJpyUjdyLqJ0MYAbvrLA5VzdRugzCQbRanRyiNe MUvpcxV/3v+q0pLhtjrHBaY/bmQgN64rWNnMWr5wGTddfk/dfd+aLqIdBSmNacEXdxkO hVbwZeJlOHWqNl+a95KAeaDceZ3X4QzushfyEqnojaQUitE65JVdzka8nIlLzdHwItiz FveJqSdlPJM8lZRGzMP7TN4zfdFe6aV807CEBT4O6xXbIHF+FDs2zaLa0imJxACSJxPQ 0QI+lvJLdC6booEDCujwoTkVkbdi9Rw9LrkT56hTyaflVZ6PkN9LD5n1YUm48H70m7m/ KYMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=9KHg7Qe2ES8vkKFWvrCHSGJdsSSlcK8bcwIxUgcjXNM=; b=DpJwT1mDomqMv0Jkb8x9+DYYqKCpFrXN1xcDsQwiAeeezKuU0wdSHZgOPOD0oMlhpm wTDlCzci+1ogo0Kmgk+rMX3/JtMF7VdHXzDA4LmCP/44WjRD/ufvUd4qnc76yC65D6fx 6k7+SGBa9TDdeymrlimhLiRwHF7JJ3bnO8pHIcRWKK5mHazT5zcVvHm/xq9nNSHN5y3t IfoQNZw1cZwlQj8IQi1QMmFKs+evvTt8mWdkhXmdMZ3yPMUopPT+6Lmnna8LWEijHKhO dd5X+p4TNPlbrUUEPw4YcrHdqYSNJqz2i1hsExSEf46rX1UZcybAujCEf7w/vQhtunQT Tkew== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=uYPuC0yV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g8si14165187pjp.57.2019.09.03.04.37.54; Tue, 03 Sep 2019 04:38:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=uYPuC0yV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729006AbfICLg7 (ORCPT + 99 others); Tue, 3 Sep 2019 07:36:59 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:46383 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728979AbfICLgy (ORCPT ); Tue, 3 Sep 2019 07:36:54 -0400 Received: by mail-wr1-f68.google.com with SMTP id h7so15769693wrt.13 for ; Tue, 03 Sep 2019 04:36:53 -0700 (PDT) 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=9KHg7Qe2ES8vkKFWvrCHSGJdsSSlcK8bcwIxUgcjXNM=; b=uYPuC0yVQGlcY2cTAR5JGAnD5f2N1lZR4isNU72syvJSAYwVtciTX7bqqDdw2BvR7i JLKZ19hueQKoiIP5/2imTa6n2YbhWYxYPl3RjTCWdicnvkkeFTC+WQT0bDPD8yhI10J/ yftzHRMVwND/+L70ex2h5fnZjX995Qo8yVg2vEjjan6rWeAblQBbFz+eUh5BT+evLMqJ 7SAjxQ7Aq28+4bX6+0rkkQDX45fIlOqlxaOxWYVpUWy0p/68DUoV8tSy8RXvpkOMAPl1 jwkaveo27gIfLpaRnTCmlicPnPu8rsKSvjE/BiHMxoZAwPd64BOAy0ZUGcv/fsqFTDA+ sKOA== 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=9KHg7Qe2ES8vkKFWvrCHSGJdsSSlcK8bcwIxUgcjXNM=; b=rWy5eofOIJjZXBe11SWL0a9nlvxYYAJ6wQCvgqFH4mzQPbynkylHsjqEa4ofzMB7gA vp1q3v6mwzHIEVdq9FMD4weJfrAp3IMQsvZpVghESN0t6KRf7HG5kcTQdHVtdQ010k4G u663rJNxSEIWr2KWy6fuStwUGbjyh5BDlnZ+W53X/HC1dKwgp/Z28UiEX89SXyVvK21A A6IeBu527myprMjNL5LKQW22qsTXEwY1BS0GI6N5eIgmsD/DtddGkvTuD4PgXdjIm/Rx 68vIElnHfpsPLQNFw+IoGh8e4Q81Cu2SjXWE1F2rweVjyn9cUkgp47W0zagUl5rQtysR EXFQ== X-Gm-Message-State: APjAAAV/aJ1mzXioxO/2H/EZSI71tbe6mmj5Wl98I45SxNRIeeMshWoc 7NHXhPYrb5gJ8VoBWnPucmxryR1/KDSBKw== X-Received: by 2002:adf:fcc1:: with SMTP id f1mr12863956wrs.308.1567510612755; Tue, 03 Sep 2019 04:36:52 -0700 (PDT) Received: from localhost.localdomain (ip5b4096c3.dynamic.kabel-deutschland.de. [91.64.150.195]) by smtp.gmail.com with ESMTPSA id y186sm32950067wmd.26.2019.09.03.04.36.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Sep 2019 04:36:52 -0700 (PDT) From: Krzysztof Wilczynski To: Peter Zijlstra Cc: Ingo Molnar , Arnaldo Carvalho de Melo , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Guo Ren , linux-kernel@vger.kernel.org Subject: [PATCH] csky: Move static keyword to the front of declaration Date: Tue, 3 Sep 2019 13:36:51 +0200 Message-Id: <20190903113651.3862-1-kw@linux.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Move the static keyword to the front of declaration of csky_pmu_of_device_ids, and resolve the following compiler warning that can be seen when building with warnings enabled (W=1): arch/csky/kernel/perf_event.c:1340: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 arch/csky/kernel/perf_event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/csky/kernel/perf_event.c b/arch/csky/kernel/perf_event.c index 4c1a1934d76a..bc33e4ed189d 100644 --- a/arch/csky/kernel/perf_event.c +++ b/arch/csky/kernel/perf_event.c @@ -1337,7 +1337,7 @@ int csky_pmu_device_probe(struct platform_device *pdev, return ret; } -const static struct of_device_id csky_pmu_of_device_ids[] = { +static const struct of_device_id csky_pmu_of_device_ids[] = { {.compatible = "csky,csky-pmu"}, {}, }; -- 2.22.1