Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp216113pxb; Fri, 16 Apr 2021 03:59:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwRGqPH+JLM89ZGrWp9s7dIqIO9D0wO2E/XAoKIbIXpVvc9scCpqHjBBrKuCnjmP8WDPWMY X-Received: by 2002:a65:6184:: with SMTP id c4mr7618537pgv.200.1618570756740; Fri, 16 Apr 2021 03:59:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618570756; cv=none; d=google.com; s=arc-20160816; b=m5Juo06cRZIoCFZtlwa9KYvAzpv5XaQLCsnu/aFpCA3aD97v5FsooboJ+jzDmUI+ro 08UsDm5PhcChcteunq07ymUlvzS4kd/8vwTFYBAxXxdOqWbm/qVpeQ91EC4x/7C14VQY dT+ZUcvtazrOjjKXobAH9mh8rt2pdQR2TNK+UtW809OggS2gM2YZ6WIQciDtmt/2srKr 0cYI1rBY6tCE5oeqRMHSpnY75VfEAVdOWs/7TryCryQAIMg7yv0toXhPwQh/owR205xM JHSvAxiYIKBifngZ++Oy5LhcAJJxrMr5EgqB1iiIdgbBXat1AUQH9xak83S3EnuOimKF eefA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date; bh=9486skAjhPZWx7N362Wo18iAztW8WQTwhjWj7Xzzj7U=; b=D6rerY5hBiIKOLp/PyFbLJn0707CW+yLXO+O9l8vGFmVfsxE0oE80fxWxbKGlJ0T2O Qf1WUV7+XDl3AsaRZdKah/yMpxRLKRbLCcwoh8B/AZgVj/b8hat8KDeW7PV3t+D6jPaq DXANNCjQLWSqvA45XVzw2MsLM+anlkaVyChf5KJzo4Af/UmFr7BP90Jg2K9tf18hlrsv q6YnZ4FEiMaD6e1/VgdgMiWaBa7L0fFcSRAgZ3XdrAb1ENuLWLxszCKlZvaHiTMydiad TsVYdXLmmIJHplncEr7tL7ikUJoHwoX4pKHQ2ClnK5Ie6qdb1jwRh+oHKQu2qKIcTcEe /iYA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p12si7037352pjn.41.2021.04.16.03.59.04; Fri, 16 Apr 2021 03:59:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239856AbhDPKmX (ORCPT + 99 others); Fri, 16 Apr 2021 06:42:23 -0400 Received: from mx2.suse.de ([195.135.220.15]:39476 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229502AbhDPKmW (ORCPT ); Fri, 16 Apr 2021 06:42:22 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 59572AFEC; Fri, 16 Apr 2021 10:41:57 +0000 (UTC) Date: Fri, 16 Apr 2021 12:41:57 +0200 Message-ID: From: Takashi Iwai To: Yang Li Cc: perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ALSA: seq: oss: Fix inconsistent indenting In-Reply-To: <1618567244-5704-1-git-send-email-yang.lee@linux.alibaba.com> References: <1618567244-5704-1-git-send-email-yang.lee@linux.alibaba.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 16 Apr 2021 12:00:44 +0200, Yang Li wrote: > > Kernel test robot throws below warning -> > > smatch warnings: > sound/core/seq/oss/seq_oss_event.c:297 note_on_event() warn: > inconsistent indenting > > Fixed the inconsistent indenting. > > Reported-by: Abaci Robot > Signed-off-by: Yang Li > --- > sound/core/seq/oss/seq_oss_event.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/sound/core/seq/oss/seq_oss_event.c b/sound/core/seq/oss/seq_oss_event.c > index 7b7c925..9a42713 100644 > --- a/sound/core/seq/oss/seq_oss_event.c > +++ b/sound/core/seq/oss/seq_oss_event.c > @@ -294,7 +294,7 @@ > /* set volume to zero -- note off */ > // type = SNDRV_SEQ_EVENT_NOTEOFF; > //else > - if (info->ch[ch].vel) > + if (info->ch[ch].vel) > /* sample already started -- volume change */ > type = SNDRV_SEQ_EVENT_KEYPRESS; The line was aligned with the commented if block. If any, we should rather clean up and re-format the whole block. (But, OTOH, you shouldn't remove the stuff without understanding the context.) thanks, Takashi