Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5DF56C636CD for ; Wed, 1 Feb 2023 12:12:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231735AbjBAMMe (ORCPT ); Wed, 1 Feb 2023 07:12:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231273AbjBAMMb (ORCPT ); Wed, 1 Feb 2023 07:12:31 -0500 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92180442E8 for ; Wed, 1 Feb 2023 04:12:30 -0800 (PST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 41D3B20DA6; Wed, 1 Feb 2023 12:12:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1675253549; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hskn5wbLCyMCr9B8BR8CQUkQzxcpqNiKf8xyLuw6SZE=; b=aMZ6tlcYqeCBSkH9uqfQ7T78seVdU5VNY0rue/rpNAiMRKbhWeDFP1Gx7+3CCxwmCFugrn ATmqBntDf2URpHP3hhDBGg/CRslPzkPGamiGr6aNSdK43Q/fn7+C7S3rKpU8ZklP/nu/2N 1ZLfkJB+eCBR10dCg6zmGw2vDmO00jA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1675253549; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hskn5wbLCyMCr9B8BR8CQUkQzxcpqNiKf8xyLuw6SZE=; b=vfNYhiOUFhufPJ5hpWo8f58YHFOOnre+8rJHdG6D58eJRZ6WpqJ2bdz+Kjz3TYaApD5xOM pub6cdoVOn3w8MDg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 321921348C; Wed, 1 Feb 2023 12:12:29 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id lkrtCy1X2mPrMwAAMHmgww (envelope-from ); Wed, 01 Feb 2023 12:12:29 +0000 Date: Wed, 01 Feb 2023 13:12:28 +0100 Message-ID: <87a61xy47n.wl-tiwai@suse.de> From: Takashi Iwai To: Jiapeng Chong Cc: perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Abaci Robot Subject: Re: [PATCH] ALSA: emu10k1: clean up some inconsistent indenting In-Reply-To: <20230131084304.12920-1-jiapeng.chong@linux.alibaba.com> References: <20230131084304.12920-1-jiapeng.chong@linux.alibaba.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 31 Jan 2023 09:43:04 +0100, Jiapeng Chong wrote: > > No functional modification involved. > > sound/pci/emu10k1/memory.c:446 snd_emu10k1_synth_free() warn: inconsistent indenting. How is this warning generated? Does it come from clang or any other compiler, or is it just some tool? In general, I take such a white-space-fix-only patch when it's tied with other real fix patches. But if the compiler warns, it's worth to pick up, of course. thanks, Takashi > > Reported-by: Abaci Robot > Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3903 > Signed-off-by: Jiapeng Chong > --- > sound/pci/emu10k1/memory.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/sound/pci/emu10k1/memory.c b/sound/pci/emu10k1/memory.c > index edb3f1763719..6a7406014f81 100644 > --- a/sound/pci/emu10k1/memory.c > +++ b/sound/pci/emu10k1/memory.c > @@ -443,7 +443,7 @@ snd_emu10k1_synth_free(struct snd_emu10k1 *emu, struct snd_util_memblk *memblk) > unmap_memblk(emu, blk); > spin_unlock_irqrestore(&emu->memblk_lock, flags); > synth_free_pages(emu, blk); > - __snd_util_mem_free(hdr, memblk); > + __snd_util_mem_free(hdr, memblk); > mutex_unlock(&hdr->block_mutex); > return 0; > } > -- > 2.20.1.7.g153144c >