Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp848938ybl; Fri, 30 Aug 2019 08:04:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqykWs2Fn5nxv1iji1mlPv3AnskQXab1Uk5umOg0OBZvNXMQVmajfsCDzr7T5KgsQYU5VMpu X-Received: by 2002:a63:5951:: with SMTP id j17mr13228443pgm.143.1567177447630; Fri, 30 Aug 2019 08:04:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567177447; cv=none; d=google.com; s=arc-20160816; b=Eb5DrpeTLWBdRBopfJsQu2YHRs+lFvlrgZcA1tp8Nh3DMeux4UdC0APv/F8bgsgckp 2QW1WOPdU57OZ55s1LoD8yUBJ7u3VUFrOcMro+KM9dY95Cd0pRfbxl3C4+WKCEJeAIIa BG+Gg2uXRGs/YUqv03qVck6t8o3VKmIhuMaDM0XIeeWIxGP2z93jPlnC0fxhZ+L/jAAB MC4+KjJK+bft1xzzSrtAxlvxt10gmKoXjLmH3bkyudes+GR8+rkzSDLAkeKTbDMWi4yW hOmsNFSVQVxhX1F6xCcPFG7f9T7sfzt97ox5xb4gHsK7015T01Kn9PIvXLNOmdpGkrcM kEEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=nfAqihWPleHpBk8WT3uGomvNKMkRIo6InAHlWj0/L1w=; b=zXkgDZxk9Yp/IfEwlFMfCeAPyio0+0t8TeTU7yO/3YjI7vynH1FESTHBnceQ7WoKrG JuEKsreA66yiZL4/8vV70cQXFp5K0orp1TCWWtmLMWNChCRYwhdPEdCnn0NQXbAENpMW 9UPlARGe4m0Y//9UuDHG5DJN4jUb5SuxxbI87QmQun9+7Vnh+m815aAmvIO+hQhpPSLF eoKnfXsGogEjOJOH0sFm0cB+WgAHcYGS60sxsJCsz6Y9zqngFwS96vrHL6kxLVKuvdN8 EzbAZ8bQP7/AXWeqgK2DbFaVKWwIAla+jCtV/xQW6bCGE4XMjQZcbNXTr2gQk+cIPhOb vRPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="S/gQ6c4W"; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z1si6299418pff.145.2019.08.30.08.03.51; Fri, 30 Aug 2019 08:04:07 -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=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="S/gQ6c4W"; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728145AbfH3PCL (ORCPT + 99 others); Fri, 30 Aug 2019 11:02:11 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:54142 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727792AbfH3PCL (ORCPT ); Fri, 30 Aug 2019 11:02:11 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x7UF24Tx029341; Fri, 30 Aug 2019 10:02:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1567177324; bh=nfAqihWPleHpBk8WT3uGomvNKMkRIo6InAHlWj0/L1w=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=S/gQ6c4WLLRF2MztR9tQ1NwHCcKq2OoxS36NLA2Y30XFZe0VrCgIzu1ZieAKLTpc8 rftRKplxGQLU5KU0FW2WAWOCbZY1fvxZsDch8Q+ZCWAE1lyK1Sr0aJYNTEKMctIg1J lYVcPvlvVDaPXCoJzdlRQ5hyddfwNXeOLqGZwtXI= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x7UF247V103254 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 30 Aug 2019 10:02:04 -0500 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Fri, 30 Aug 2019 10:02:03 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Fri, 30 Aug 2019 10:02:03 -0500 Received: from [10.250.65.13] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id x7UF23cT101772; Fri, 30 Aug 2019 10:02:03 -0500 Subject: Re: [PATCH] leds: Move static keyword to the front of declarations To: Krzysztof Wilczynski , Jacek Anaszewski CC: Pavel Machek , , References: <20190830090958.27108-1-kw@linux.com> From: Dan Murphy Message-ID: Date: Fri, 30 Aug 2019 10:02:03 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190830090958.27108-1-kw@linux.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Krzystof Thanks for the patch On 8/30/19 4:09 AM, Krzysztof Wilczynski wrote: > Move the static keyword to the front of declarations. > > In drivers/leds/leds-lm3532.c for ramp_table, als_avrg_table > and als_imp_table, and in drivers/leds/leds-lm3532.c for > ramp_table. > > This will resolve the following compiler warnings that can > be seen when building with warnings enabled (W=1): > > drivers/leds/leds-lm3532.c:209:1: warning: > ‘static’ is not at beginning of declaration [-Wold-style-declaration] > > drivers/leds/leds-lm3532.c:266:1: warning: > ‘static’ is not at beginning of declaration [-Wold-style-declaration] > > drivers/leds/leds-lm3532.c:281:1: warning: > ‘static’ is not at beginning of declaration [-Wold-style-declaration] > > drivers/leds/leds-ti-lmu-common.c:14: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/leds/leds-lm3532.c | 6 +++--- > drivers/leds/leds-ti-lmu-common.c | 2 +- This file is missing in the subject. Maybe break it out into a separate patch since they do not have dependencies on each other. Dan