Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
8bcb3f98
Commit
8bcb3f98
authored
May 11, 2004
by
James Bottomley
Committed by
Greg Kroah-Hartman
May 11, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] fix dev_printk to work even in the absence of an attached driver
parent
ab7f7331
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
include/linux/device.h
include/linux/device.h
+1
-1
No files found.
include/linux/device.h
View file @
8bcb3f98
...
...
@@ -400,7 +400,7 @@ extern void firmware_unregister(struct subsystem *);
/* debugging and troubleshooting/diagnostic helpers. */
#define dev_printk(level, dev, format, arg...) \
printk(level "%s %s: " format , (dev)->driver
->name
, (dev)->bus_id , ## arg)
printk(level "%s %s: " format , (dev)->driver
? (dev)->driver->name : ""
, (dev)->bus_id , ## arg)
#ifdef DEBUG
#define dev_dbg(dev, format, arg...) \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment