HomeFreeBSD

qlxgbe: fix debug prints in ql_os.c

Description

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

(cherry picked from commit 3d6c7ee87e9d7f3c8f617c3803af3effa8eb8a16)

Details

Provenance
Fuqian Huang <huangfq.daxian@gmail.com>Authored on May 28 2024, 5:31 AM
Kevin Bowling <kbowling@FreeBSD.org>Committed on Sep 29 2024, 3:59 AM
Parents
rG06c854adc984: qlxgbe: Remove pointer printing in ql_ioctl.c
Branches
Unknown
Tags
Unknown

Event Timeline

Kevin Bowling <kbowling@FreeBSD.org> committed rGeee19d438424: qlxgbe: fix debug prints in ql_os.c (authored by Fuqian Huang <huangfq.daxian@gmail.com>).Sep 29 2024, 3:59 AM