From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 09EC4C433ED for ; Fri, 16 Apr 2021 10:39:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DE70F610CD for ; Fri, 16 Apr 2021 10:39:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241594AbhDPKjh (ORCPT ); Fri, 16 Apr 2021 06:39:37 -0400 Received: from mx2.suse.de ([195.135.220.15]:37322 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235267AbhDPKjg (ORCPT ); Fri, 16 Apr 2021 06:39:36 -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 28A35AFC9; Fri, 16 Apr 2021 10:39:11 +0000 (UTC) Date: Fri, 16 Apr 2021 12:39:11 +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: isa: Fix inconsistent indenting In-Reply-To: <1618567198-5120-1-git-send-email-yang.lee@linux.alibaba.com> References: <1618567198-5120-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 11:59:58 +0200, Yang Li wrote: > > Kernel test robot throws below warning -> > > smatch warnings: > sound/isa/opti9xx/opti92x-ad1848.c:191 snd_opti9xx_init() warn: > inconsistent indenting > sound/isa/opti9xx/opti92x-ad1848.c:488 snd_opti9xx_init() warn: > inconsistent indenting > > Reported-by: Abaci Robot > Signed-off-by: Yang Li > --- > sound/isa/opti9xx/opti92x-ad1848.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/sound/isa/opti9xx/opti92x-ad1848.c b/sound/isa/opti9xx/opti92x-ad1848.c > index 08e61d9..234f023 100644 > --- a/sound/isa/opti9xx/opti92x-ad1848.c > +++ b/sound/isa/opti9xx/opti92x-ad1848.c > @@ -188,7 +188,7 @@ static int snd_opti9xx_init(struct snd_opti9xx *chip, > chip->mc_base_size = opti9xx_mc_size[hardware]; > } > #else > - chip->mc_base_size = opti9xx_mc_size[hardware]; > + chip->mc_base_size = opti9xx_mc_size[hardware]; > #endif No, it's not correct. The ifdef is a bit tricky here but the line you changed belongs to the else section. thanks, Takashi