linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] coding-style.rst: trivial: fix location of driver model macros
@ 2021-04-23 18:40 Trevor Woerner
  2021-04-23 18:54 ` Shuah Khan
  2021-04-23 19:14 ` Miguel Ojeda
  0 siblings, 2 replies; 14+ messages in thread
From: Trevor Woerner @ 2021-04-23 18:40 UTC (permalink / raw)
  To: linux-kernel
  Cc: Jonathan Corbet, Jiri Kosina, Joe Perches, Shuah Khan,
	Matthias Brugger, Miguel Ojeda, Geert Uytterhoeven,
	Alexander A. Klimov, Yorick de Wid, Dan Williams,
	open list:DOCUMENTATION

The dev_printk()-like functions moved to include/linux/dev_print.h in
commit af628aae8640 ("device.h: move dev_printk()-like functions to
dev_printk.h").

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
---
 Documentation/process/coding-style.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/process/coding-style.rst b/Documentation/process/coding-style.rst
index 42969ab37b34..44f796ba52c4 100644
--- a/Documentation/process/coding-style.rst
+++ b/Documentation/process/coding-style.rst
@@ -855,7 +855,7 @@ Kernel messages do not have to be terminated with a period.
 
 Printing numbers in parentheses (%d) adds no value and should be avoided.
 
-There are a number of driver model diagnostic macros in <linux/device.h>
+There are a number of driver model diagnostic macros in <linux/dev_printk.h>
 which you should use to make sure messages are matched to the right device
 and driver, and are tagged with the right level:  dev_err(), dev_warn(),
 dev_info(), and so forth.  For messages that aren't associated with a
-- 
2.30.0.rc0


^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2021-10-26 23:49 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-23 18:40 [PATCH] coding-style.rst: trivial: fix location of driver model macros Trevor Woerner
2021-04-23 18:54 ` Shuah Khan
2021-04-23 19:14 ` Miguel Ojeda
     [not found]   ` <CAHUNapQfFBcqrX7MvUvq8qbPgk2bPu-h3+9NxAUFpRtpOGFODw@mail.gmail.com>
2021-10-26 12:47     ` Miguel Ojeda
2021-10-26 14:44       ` Trevor Woerner
2021-10-26 15:10         ` Miguel Ojeda
2021-10-26 15:18           ` Randy Dunlap
2021-10-26 15:27             ` Joe Perches
2021-10-26 23:49               ` Randy Dunlap
2021-10-26 15:28             ` Miguel Ojeda
2021-10-26 15:37         ` Joe Perches
2021-10-26 21:21           ` Trevor Woerner
2021-10-26 15:41     ` Jonathan Corbet
2021-10-26 21:23       ` Trevor Woerner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).