From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934213AbdCLOzy (ORCPT ); Sun, 12 Mar 2017 10:55:54 -0400 Received: from mx02-sz.bfs.de ([194.94.69.103]:20889 "EHLO mx02-sz.bfs.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755753AbdCLOzf (ORCPT ); Sun, 12 Mar 2017 10:55:35 -0400 Message-ID: <58C56160.9070208@bfs.de> Date: Sun, 12 Mar 2017 15:55:28 +0100 From: walter harms Reply-To: wharms@bfs.de User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.16) Gecko/20101125 SUSE/3.0.11 Thunderbird/3.0.11 MIME-Version: 1.0 To: Colin King CC: Brian Austin , Paul Handrigan , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Jiri Kosina , alsa-devel@alsa-project.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ASoC: cs35l35: trivial fix to indentation References: <20170311191922.6209-1-colin.king@canonical.com> In-Reply-To: <20170311191922.6209-1-colin.king@canonical.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 11.03.2017 20:19, schrieb Colin King: > From: Colin Ian King > > Remove extraneous tab to correct the nesting level indentation > > Detected by CoverityScan, CID#1416584 ("Nesting level does > not match indentation") > > Signed-off-by: Colin Ian King > --- > sound/soc/codecs/cs35l35.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/sound/soc/codecs/cs35l35.c b/sound/soc/codecs/cs35l35.c > index 260ed42..43d33f4 100644 > --- a/sound/soc/codecs/cs35l35.c > +++ b/sound/soc/codecs/cs35l35.c > @@ -1370,7 +1370,8 @@ static int cs35l35_i2c_probe(struct i2c_client *i2c_client, > > for (i = 0; i < ARRAY_SIZE(cs35l35_supplies); i++) > cs35l35->supplies[i].supply = cs35l35_supplies[i]; > - cs35l35->num_supplies = ARRAY_SIZE(cs35l35_supplies); > + > + cs35l35->num_supplies = ARRAY_SIZE(cs35l35_supplies); > I have the feeling is better before the loop: cs35l35->num_supplies = ARRAY_SIZE(cs35l35_supplies); for (i = 0; i < cs35l35->num_supplies; i++) cs35l35->supplies[i].supply = cs35l35_supplies[i]; re, wh > ret = devm_regulator_bulk_get(&i2c_client->dev, > cs35l35->num_supplies,