[PATCH] include: Include <linux/math.h> to resolve implicit declaration of do_div()

Sascha Hauer s.hauer at pengutronix.de
Fri Oct 18 01:55:08 PDT 2024


On Thu, 17 Oct 2024 02:47:04 +0300, Abdelrahman Youssef via B4 Relay wrote:
> I was testing barebox with randconfig, so I got a warning (treated as an error) : implicit declaration of do_div().
> So <linux/math.h> needs to included.
> 
> 

Applied, thanks!

[1/1] include: Include <linux/math.h> to resolve implicit declaration of do_div()
      https://git.pengutronix.de/cgit/barebox/commit/?id=cb8767765854 (link may not be stable)

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




More information about the barebox mailing list