[Bug 238655] qlxgbe: replace device_printf with QL_DPRINT2 in ql_os.c

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 28 May 2024 05:33:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238655

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

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

commit 3d6c7ee87e9d7f3c8f617c3803af3effa8eb8a16
Author:     Fuqian Huang <huangfq.daxian@gmail.com>
AuthorDate: 2024-05-28 05:31:03 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2024-05-28 05:32:16 +0000

    qlxgbe: fix debug prints in ql_os.c

    QL_DPRINT2 checks the debug level first and then prints.
    Replace device_printf with QL_DPRINT2 to check debug level
    first before printing out the kernel pointers.

    PR:             238655
    MFC after:      1 week

 sys/dev/qlxgbe/ql_os.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

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