summaryrefslogtreecommitdiff
path: root/drivers/rtc/interface.c
diff options
context:
space:
mode:
authorHiroki Nakajima <3na7nanana@gmail.com>2026-07-12 16:26:52 +0900
committerHans Verkuil <hverkuil+cisco@kernel.org>2026-07-17 12:36:48 +0200
commit28ceb7eb73c90ef6f59c24a7fcc4fe8e42183b2c (patch)
tree74f453736e24ada89494e8c7f4b4b98931aa4699 /drivers/rtc/interface.c
parentc37aca64206fafe938119e801a3fd10a537a051f (diff)
downloadlinux-next-28ceb7eb73c90ef6f59c24a7fcc4fe8e42183b2c.tar.gz
linux-next-28ceb7eb73c90ef6f59c24a7fcc4fe8e42183b2c.zip
media: rkvdec: use DIV_ROUND_UP() for CTB counts
Use DIV_ROUND_UP() when computing HEVC coding tree block counts instead of open-coding the same rounding expression. This keeps the rounding intent explicit without changing behavior. Found using a Coccinelle rule generated from the DIV_ROUND_UP() macro definition. Signed-off-by: Hiroki Nakajima <3na7nanana@gmail.com> Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'drivers/rtc/interface.c')
0 files changed, 0 insertions, 0 deletions