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

2024-05-15 Thread Sascha Hauer
On Wed, 15 May 2024 13:27:03 +0200, Ahmad Fatoum wrote: > This is a port of Linux commit 048a9883267f9b8f8e05dca9e9e8e6f991eea61e: > > | Author: Alexey Dobriyan > | AuthorDate: Sat May 20 21:25:19 2023 +0300 > | > | include/linux/math.h: fix mult_frac() multiple argument evaluation bug > |

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

2024-05-15 Thread Ahmad Fatoum
This is a port of Linux commit 048a9883267f9b8f8e05dca9e9e8e6f991eea61e: | Author: Alexey Dobriyan | 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. | |