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 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D9893C07E9D for ; Thu, 29 Sep 2022 06:13:17 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 021E6843; Thu, 29 Sep 2022 08:12:26 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 021E6843 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1664431996; bh=rqod8C0j3qQjbdZIsQiG3bGgs83Caj+cm4BhgisxU1o=; h=Date:From:To:Subject:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=n2mLcrGHzFZi/K4utm3IjjCtjB+PcK6ttnll5djte6iKP+Uvl/JDT9z0K5qmprr/X UBghGar8daYH8Do/lEQLGsq+29g3pgZYcygff4SSnr7zOeRItOcC8nD3Eb2dKiZAIU LUFzUYKqkuVVb97dDLr3QP0kggMAmphGTDiI9wr4= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 7E9F1F80095; Thu, 29 Sep 2022 08:12:25 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 9E8EEF8016D; Thu, 29 Sep 2022 08:12:23 +0200 (CEST) Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 2671BF8016D for ; Thu, 29 Sep 2022 08:12:15 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 2671BF8016D Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="wliTxxO9"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="mXFbr0dk" 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-out1.suse.de (Postfix) with ESMTPS id 9492D21E89; Thu, 29 Sep 2022 06:12:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1664431935; 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=4PTZCwUB9NIfEku3DsYdtbcjnVJIGVaOpJIKdVS21M0=; b=wliTxxO9Ozvv+n85j6DKDhWhRmp49GKoVWWjzTksfeK0zAHYhxuD3Uvv00gTKE6ZeN8rev DN2AzlMQcz0VLYpd1fvcWvaerigMoUWhv1xyRmJCCffQMlkDFbpGxwTtXQ+TLJ8ppMSgTX TWebqK99IjUmCMeLIcLjISeawCIvSOY= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1664431935; 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=4PTZCwUB9NIfEku3DsYdtbcjnVJIGVaOpJIKdVS21M0=; b=mXFbr0dk4uHMRsfxsdJ/in+wqva5/h4AdXIXpLAZnTz065Uh+/l98+KZ2KCExgEz6jSGq+ LKQCPRfIXgiWqxBw== 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 7288113A71; Thu, 29 Sep 2022 06:12:15 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 1/sPGz83NWM6VgAAMHmgww (envelope-from ); Thu, 29 Sep 2022 06:12:15 +0000 Date: Thu, 29 Sep 2022 08:12:14 +0200 Message-ID: <87wn9m90ap.wl-tiwai@suse.de> From: Takashi Iwai To: Shang XiaoJing Subject: Re: [PATCH -next] ALSA: sb: Use DIV_ROUND_UP() instead of open-coding it In-Reply-To: <20220927141110.18033-1-shangxiaojing@huawei.com> References: <20220927141110.18033-1-shangxiaojing@huawei.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 Cc: alsa-devel@alsa-project.org, tiwai@suse.com X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Tue, 27 Sep 2022 16:11:10 +0200, Shang XiaoJing wrote: > > Use DIV_ROUND_UP() instead of open-coding it, which intents and makes > it more clear what is going on for the casual reviewer. > > The Coccinelle references Commit e4d8aef21403 ("ALSA: usb: Use > DIV_ROUND_UP() instead of open-coding it"). > > Signed-off-by: Shang XiaoJing Thanks, applied. Takashi