Re: [PATCH v2] staging: most: dim2: replace ROUND_UP_TO macro with round_up()

From: Dan Carpenter

Date: Fri Mar 06 2026 - 02:38:02 EST


On Thu, Mar 05, 2026 at 06:19:26PM -0800, Mark Adamenko wrote:
> The ROUND_UP_TO macro reuses argument 'd', which can cause unintended
> side effects. Remove it and replace the macro call with the existing
> round_up() function.
>
> Signed-off-by: Mark Adamenko <marusik.adamenko@xxxxxxxxx>
> ---
> v2: use existing round_up() instead of a custom inline function

Thanks!

Reviewed-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

regards,
dan carpenter