From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753255AbdFVK1z (ORCPT ); Thu, 22 Jun 2017 06:27:55 -0400 Received: from mga09.intel.com ([134.134.136.24]:3362 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752755AbdFVK1x (ORCPT ); Thu, 22 Jun 2017 06:27:53 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,372,1493708400"; d="scan'208";a="983915592" Date: Thu, 22 Jun 2017 16:00:35 +0530 From: Vinod Koul To: Colin King Cc: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Javier Martinez Canillas , Takashi Sakamoto , Kuninori Morimoto , Enric Balletbo i Serra , alsa-devel@alsa-project.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [alsa-devel] [PATCH] ASoC: max9867: make array ni_div static const Message-ID: <20170622103034.GS19154@localhost> References: <20170622093231.11389-1-colin.king@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170622093231.11389-1-colin.king@canonical.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 22, 2017 at 10:32:31AM +0100, Colin King wrote: > From: Colin Ian King > > The array ni_div does not need to be in global scope and is not > modified, so make it static const. > > Cleans up sparse warning: > "symbol 'ni_div' was not declared. Should it be static?" Acked-By: Vinod Koul -- ~Vinod From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vinod Koul Date: Thu, 22 Jun 2017 10:42:35 +0000 Subject: Re: [alsa-devel] [PATCH] ASoC: max9867: make array ni_div static const Message-Id: <20170622103034.GS19154@localhost> List-Id: References: <20170622093231.11389-1-colin.king@canonical.com> In-Reply-To: <20170622093231.11389-1-colin.king@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Colin King Cc: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Javier Martinez Canillas , Takashi Sakamoto , Kuninori Morimoto , Enric Balletbo i Serra , alsa-devel@alsa-project.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org On Thu, Jun 22, 2017 at 10:32:31AM +0100, Colin King wrote: > From: Colin Ian King > > The array ni_div does not need to be in global scope and is not > modified, so make it static const. > > Cleans up sparse warning: > "symbol 'ni_div' was not declared. Should it be static?" Acked-By: Vinod Koul -- ~Vinod