Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1672507

Re: [alsa-devel] [PATCH] ASoC: max9867: make array ni_div static const

From Vinod Koul <vinod.koul@intel.com>
Newsgroups linux.kernel
Subject Re: [alsa-devel] [PATCH] ASoC: max9867: make array ni_div static const
Date 2017-06-22 12:30 +0200
Message-ID <tV7x8-3ll-5@gated-at.bofh.it> (permalink)
References <tV6KJ-2Nq-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Jun 22, 2017 at 10:32:31AM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> 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.koul@intel.com>

-- 
~Vinod

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] ASoC: max9867: make array ni_div static const Colin King <colin.king@canonical.com> - 2017-06-22 11:40 +0200
  Re: [alsa-devel] [PATCH] ASoC: max9867: make array ni_div static  const Vinod Koul <vinod.koul@intel.com> - 2017-06-22 12:30 +0200
  Applied "ASoC: max9867: make array ni_div static const" to the asoc tree Mark Brown <broonie@kernel.org> - 2017-06-22 16:20 +0200

csiph-web