Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jun 2026 14:08:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 292616] FreeBSD 14 to 15 upgrade reboot loop if watchdogd is enabled
Message-ID:  <bug-292616-227-tmTOr3VzdO@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-292616-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292616

--- Comment #2 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=d08cb1dc17486920c1506f175d77259e0ac3f3a3

commit d08cb1dc17486920c1506f175d77259e0ac3f3a3
Author:     Justin Hibbits <jhibbits@FreeBSD.org>
AuthorDate: 2026-06-10 13:50:14 +0000
Commit:     Justin Hibbits <jhibbits@FreeBSD.org>
CommitDate: 2026-06-10 14:04:40 +0000

    watchdog: Fix a couple type issues

    * Force the type of the literal `1` passed to nstosbt() to ensure it's a
      64-bit type (or larger).  Otherwise it gets inconveniently typed to
      int, resulting in truncation.
    * Use `flsll()` when converting sbt to power-of-2-nanoseconds to fix
      32-bit compatibility.

    PR:             292616
    Obtained from:  Hewlett Packard Enterprise
    Fixes:  26d6617f3 ("watchdog: Convert to using sbintime_t format")
    MFC after:      3 days

 sys/dev/watchdog/watchdog.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-292616-227-tmTOr3VzdO>