[Bug 200984] sys/dev/bce/if_bce.c: 2 * bad if

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 02 Feb 2025 16:59:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200984

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

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

commit 5deab77bb6d119dd171385d144a622e7ba7108fe
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2025-02-02 16:49:15 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2025-02-02 16:49:15 +0000

    bce: Fix register dumping to skip blank area

    When compiling with debug enabled, this produces an always false
    warning. It's clear that this was to skip ranges that aren't used when
    dumping the registers, so change the && to || to skip things properly.

    PR: 200984
    Sponsored by:           Netflix

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

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