Re: svn commit: r366386 - head/sys/dev/pwm

2020-10-03 Thread Mateusz Guzik
On 10/3/20, Emmanuel Vadot  wrote:
> Author: manu
> Date: Sat Oct  3 08:31:28 2020
> New Revision: 366386
> URL: https://svnweb.freebsd.org/changeset/base/366386
>
> Log:
>   pwm_backlight: Fix 32 bits build
>

Some kernels are still failing at least with:
In file included from /usr/src/sys/dev/pwm/pwm_backlight.c:56:
/usr/src/sys/dev/extres/regulator/regulator.h:38:10: fatal error:
'regnode_if.h' file not found
#include "regnode_if.h"
 ^~
1 error generated.
--- pwm_backlight.o ---
*** [pwm_backlight.o] Error code 1

arm ARMADA38X kernel failed, check _.arm.ARMADA38X for details
arm EFIKA_MX kernel failed, check _.arm.EFIKA_MX for details
arm IMX6 kernel failed, check _.arm.IMX6 for details
arm IMX53 kernel failed, check _.arm.IMX53 for details
arm VYBRID kernel failed, check _.arm.VYBRID for details
arm ZEDBOARD kernel failed, check _.arm.ZEDBOARD for details



-- 
Mateusz Guzik 
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r366386 - head/sys/dev/pwm

2020-10-03 Thread Emmanuel Vadot
Author: manu
Date: Sat Oct  3 08:31:28 2020
New Revision: 366386
URL: https://svnweb.freebsd.org/changeset/base/366386

Log:
  pwm_backlight: Fix 32 bits build
  
  Reported by:  jenkins, mjg

Modified:
  head/sys/dev/pwm/pwm_backlight.c

Modified: head/sys/dev/pwm/pwm_backlight.c
==
--- head/sys/dev/pwm/pwm_backlight.cSat Oct  3 02:26:38 2020
(r366385)
+++ head/sys/dev/pwm/pwm_backlight.cSat Oct  3 08:31:28 2020
(r366386)
@@ -141,8 +141,8 @@ pwm_backlight_attach(device_t dev)
 
if (bootverbose) {
device_printf(dev, "Number of levels: %zd\n", 
sc->nlevels);
-   device_printf(dev, "Configured period time: %lu\n", 
sc->channel->period);
-   device_printf(dev, "Default duty cycle: %lu\n", 
sc->channel->duty);
+   device_printf(dev, "Configured period time: %ju\n", 
(uintmax_t)sc->channel->period);
+   device_printf(dev, "Default duty cycle: %ju\n", 
(uintmax_t)sc->channel->duty);
}
} else {
/* Get the current backlight level */
@@ -153,8 +153,8 @@ pwm_backlight_attach(device_t dev)
if (sc->channel->duty > sc->channel->period)
sc->channel->duty = sc->channel->period;
if (bootverbose) {
-   device_printf(dev, "Configured period time: %lu\n", 
sc->channel->period);
-   device_printf(dev, "Default duty cycle: %lu\n", 
sc->channel->duty);
+   device_printf(dev, "Configured period time: %ju\n", 
(uintmax_t)sc->channel->period);
+   device_printf(dev, "Default duty cycle: %ju\n", 
(uintmax_t)sc->channel->duty);
}
}
 
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"