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
MFC after: 1 week

Details

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