From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2214DC433DF for ; Thu, 2 Jul 2020 11:53:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0BB522070C for ; Thu, 2 Jul 2020 11:53:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728849AbgGBLxi (ORCPT ); Thu, 2 Jul 2020 07:53:38 -0400 Received: from mga04.intel.com ([192.55.52.120]:5015 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728813AbgGBLxi (ORCPT ); Thu, 2 Jul 2020 07:53:38 -0400 IronPort-SDR: LamNGFfkGgsD0cdlnwYwNghixb+lkyZ8n9CiweeWGJxc07aNTa7MM0HNXV1th5kB+dw9ffAawx IMn+7ijUZkwQ== X-IronPort-AV: E=McAfee;i="6000,8403,9669"; a="144386689" X-IronPort-AV: E=Sophos;i="5.75,304,1589266800"; d="scan'208";a="144386689" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jul 2020 04:53:37 -0700 IronPort-SDR: bbbdfZyO3yEXTYX8WFFN2SRdDCYGGBsw17/NUBwRRvkexdjBdpLuSC4R4N9fh3hBFJ8n6VtUMw 6L4M191McniA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,304,1589266800"; d="scan'208";a="387313386" Received: from lahna.fi.intel.com (HELO lahna) ([10.237.72.163]) by fmsmga001.fm.intel.com with SMTP; 02 Jul 2020 04:53:35 -0700 Received: by lahna (sSMTP sendmail emulation); Thu, 02 Jul 2020 14:53:34 +0300 Date: Thu, 2 Jul 2020 14:53:34 +0300 From: Mika Westerberg To: Wei Yongjun Cc: Andreas Noever , Michael Jamet , Yehezkel Bernat , Mario Limonciello , linux-usb@vger.kernel.org Subject: Re: [PATCH -next] thunderbolt: Fix old style declaration warning Message-ID: <20200702115334.GU5180@lahna.fi.intel.com> References: <20200702080750.70614-1-weiyongjun1@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200702080750.70614-1-weiyongjun1@huawei.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org On Thu, Jul 02, 2020 at 04:07:50PM +0800, Wei Yongjun wrote: > Fix gcc build warning: > > drivers/thunderbolt/quirks.c:21:1: warning: > 'static' is not at beginning of declaration [-Wold-style-declaration] > 21 | const static struct tb_quirk tb_quirks[] = { > | ^~~~~ > > Reported-by: Hulk Robot > Signed-off-by: Wei Yongjun Applied, thanks!