is there a macro symbol for strlen($LINUX_SOURCE_PATH)

Greg KH greg at kroah.com
Thu Sep 5 01:47:45 EDT 2019


On Wed, Sep 04, 2019 at 03:42:01PM -0600, jim.cromie at gmail.com wrote:
> in the kernel, there are a lot of usages of __FILE__

And almost all of them should go away, I think checkpatch.pl will
mention something like that.  I know I will gladly take patches that fix
up printk messages that have __FILE__ in them to use the correct macros
instead for portions of the kernel that I maintain.

thanks,

greg k-h



More information about the Kernelnewbies mailing list