Re: [PATCH 0/2] tracing: Move trace_printk.h out of kernel.h

Steven Rostedt <[email protected]> Mon, 22 Jun 2026 12:51:54 -0400
Newsgroups gmane.comp.file-systems.ext4,gmane.linux.kernel,gmane.linux.documentation,gmane.linux.kbuild.devel,gmane.linux.ports.ppc64.devel,gmane.comp.video.dri.devel,gmane.linux.ports.arm.kernel,gmane.linux.drivers.rdma,gmane.linux.usb.general,gmane.linux.nfs,gmane.comp.emulators.kvm.devel,gmane.comp.freedesktop.xorg.drivers.intel
Message-ID <20260622125154.6f5b9b33@fedora>
On Mon, 22 Jun 2026 09:40:45 -0700
Randy Dunlap <[email protected]> wrote:

> > Did you forget your C 101 class? If you use a function, you gotta
> > include the relevant header.  
> 
> Also item #1 in Documentation/process/submit-checklist.rst.

What is that? Remove all trace_printk()s before you submit?

Because that is what you should do. But now you also need to remember
to remove the include <linux/trace_printk.h> too. Or, I guess if
someone uses it a lot, they may just keep it in their files without the
trace_printk()s.

-- Steve