[PATCH -next] ALSA: sb: Use DIV_ROUND_UP() instead of open-coding it

Takashi Iwai tiwai at suse.de
Thu Sep 29 08:12:14 CEST 2022


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 <shangxiaojing at huawei.com>

Thanks, applied.


Takashi


More information about the Alsa-devel mailing list