Bug 238656 - qlxge: replace device_printf with QL_DPRINT2 in qls_os.c
Summary: qlxge: replace device_printf with QL_DPRINT2 in qls_os.c
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-net (Nobody)
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2019-06-17 11:25 UTC by Fuqian
Modified: 2019-07-04 10:44 UTC (History)
0 users

See Also:


Attachments
The patch file (3.31 KB, patch)
2019-06-17 11:25 UTC, Fuqian
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fuqian 2019-06-17 11:25:32 UTC
Created attachment 205174 [details]
The patch file

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