Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3332749imu; Sun, 11 Nov 2018 12:34:23 -0800 (PST) X-Google-Smtp-Source: AJdET5djZmWn0FQGCsRUb6vMDqEPvAyxXogd0ZiAIsuEq8u8ecut9/LHB6C78LEzCf2N0hQhk2AF X-Received: by 2002:a17:902:6bc9:: with SMTP id m9-v6mr17694841plt.106.1541968462944; Sun, 11 Nov 2018 12:34:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541968462; cv=none; d=google.com; s=arc-20160816; b=KFkJ8qbCqewtqjnRchyZi/7VsZDdVZHK4YHCZteTYpwGmGg9JXlqdewM4qH4LaR4ie MGXLyctIaa3jqHdIO06RAqm8mn3wSZJj6Y3K15/9iNGlqCG324YwdRWyLRiA0qLUusVK LDh8HLxig+7OGQ5+q9EPBr5jFJ+7RFe3sL5hA52be8v70sZKYLPT+cgZbdn8voBA3zqw E9AwJKKBEXDDw4xhotMs/QSGVgn5XjCBsdzAu4MeiOmvYZAIfy5D+5Qn4T0fOI20YNlN cdZbax7J4nZU+2m5wlXUteqbTFoWgdhj2uuiiXrUBQ6ticTzK6R6nVuOzCAjw7dafv0Y 0HwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition; bh=X3e5OIQjv+TlG8gET0Lwa9/c27gpqSIFWdqn7aj5hbk=; b=OeSntH3OmTgNm6cvSt+Z1hLfTg5gwpHAJtVVXhLTHcn3TgX3le5si7odPNx1W/0WCm ZvoPIy+Y3zWUhk9A6h5yEpMHfN7EwdkQyWZdvxV5AC8pZGpRjbLSxyTFI5ZetB3WUGTz TuSjAL6NO0aG6UbszI2YYJSlpkW7MpsVq/0ujCFlrG7MmMCVrmOa7tLcGt3LckBjIJku 7NKvDfD0Bfl5Cxjq3rCfMS4kFjVC2KVtNoXtmM5Co3WT++ndOvKyzE0Nx4T1x2ly40Wd iOttR6O5+G/e/OiIeAcscQXnpmIpab6xHm1HU2Kdv/vAQN+7gJYlh1tKIyuZ2zLs/6Ah eSCg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v9si13923440pgo.23.2018.11.11.12.34.08; Sun, 11 Nov 2018 12:34:22 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731369AbeKLGXU (ORCPT + 99 others); Mon, 12 Nov 2018 01:23:20 -0500 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:50122 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729504AbeKLFsQ (ORCPT ); Mon, 12 Nov 2018 00:48:16 -0500 Received: from [192.168.4.242] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gLvsc-0000oO-5a; Sun, 11 Nov 2018 19:58:46 +0000 Received: from ben by deadeye with local (Exim 4.91) (envelope-from ) id 1gLvsZ-0001q0-HD; Sun, 11 Nov 2018 19:58:43 +0000 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, "Dan Carpenter" , "Takashi Iwai" Date: Sun, 11 Nov 2018 19:49:05 +0000 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) Subject: [PATCH 3.16 322/366] ALSA: msnd: add some missing curly braces In-Reply-To: X-SA-Exim-Connect-IP: 192.168.4.242 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.61-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: Dan Carpenter commit 096a020a9ef5c947577d3b57199bfc9b7e686b49 upstream. There were some curly braces intended here. Signed-off-by: Dan Carpenter Signed-off-by: Takashi Iwai Signed-off-by: Ben Hutchings --- sound/isa/msnd/msnd_pinnacle_mixer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/sound/isa/msnd/msnd_pinnacle_mixer.c +++ b/sound/isa/msnd/msnd_pinnacle_mixer.c @@ -313,11 +313,12 @@ int snd_msndmix_new(struct snd_card *car spin_lock_init(&chip->mixer_lock); strcpy(card->mixername, "MSND Pinnacle Mixer"); - for (idx = 0; idx < ARRAY_SIZE(snd_msnd_controls); idx++) + for (idx = 0; idx < ARRAY_SIZE(snd_msnd_controls); idx++) { err = snd_ctl_add(card, snd_ctl_new1(snd_msnd_controls + idx, chip)); if (err < 0) return err; + } return 0; }