[PATCH] include/linux/kernel.h: fix mult_frac() multiple argument evaluation bug

Sascha Hauer s.hauer at pengutronix.de
Wed May 15 22:58:29 PDT 2024


On Wed, 15 May 2024 13:27:03 +0200, Ahmad Fatoum wrote:
> This is a port of Linux commit 048a9883267f9b8f8e05dca9e9e8e6f991eea61e:
> 
> | Author:     Alexey Dobriyan <adobriyan at gmail.com>
> | AuthorDate: Sat May 20 21:25:19 2023 +0300
> |
> | include/linux/math.h: fix mult_frac() multiple argument evaluation bug
> |
> | mult_frac() evaluates _all_ arguments multiple times in the body.
> |
> | Clarify comment while I'm at it.
> |
> | Link: https://lkml.kernel.org/r/f9f9fdbb-ec8e-4f5e-a998-2a58627a1a43@p183
> | Signed-off-by: Alexey Dobriyan <adobriyan at gmail.com>
> | Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
> 
> [...]

Applied, thanks!

[1/1] include/linux/kernel.h: fix mult_frac() multiple argument evaluation bug
      https://git.pengutronix.de/cgit/barebox/commit/?id=3934f477dc82 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list