Bug 238655 - qlxgbe: replace device_printf with QL_DPRINT2 in ql_os.c
Summary: qlxgbe: replace device_printf with QL_DPRINT2 in ql_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 mailing list
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2019-06-17 11:23 UTC by Fuqian
Modified: 2019-07-04 10:45 UTC (History)
0 users

See Also:


Attachments
The patch file (1.79 KB, patch)
2019-06-17 11:23 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:23:53 UTC
Created attachment 205173 [details]
The patch file

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.