The branch main has been updated by avg: URL: https://cgit.FreeBSD.org/src/commit/?id=a044cf60bd375f894b371fc87d148bf4704c05a8
commit a044cf60bd375f894b371fc87d148bf4704c05a8 Author: Andriy Gapon <a...@freebsd.org> AuthorDate: 2024-02-18 16:26:20 +0000 Commit: Andriy Gapon <a...@freebsd.org> CommitDate: 2024-02-18 16:29:00 +0000 rk8xx_poweroff: add parentheses missed in 8b408fc6f2 Fixes: 8b408fc6f2 MFC after: 2 weeks --- sys/dev/iicbus/pmic/rockchip/rk8xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/iicbus/pmic/rockchip/rk8xx.c b/sys/dev/iicbus/pmic/rockchip/rk8xx.c index 6cbfd19ff443..fa3e95c9a68d 100644 --- a/sys/dev/iicbus/pmic/rockchip/rk8xx.c +++ b/sys/dev/iicbus/pmic/rockchip/rk8xx.c @@ -108,7 +108,7 @@ rk8xx_poweroff(void *arg, int howto) int error; uint8_t val; - if (howto & (RB_POWEROFF | RB_POWERCYCLE) == 0) + if ((howto & (RB_POWEROFF | RB_POWERCYCLE)) == 0) return; device_printf(sc->dev, "Powering off...\n");