Re: [PATCH v2] printk: Userspace format enumeration support

From: Chris Down
Date: Tue Feb 09 2021 - 08:16:02 EST


Greg Kroah-Hartman writes:
How can file ever be NULL?

And if it is an error, what is the problem here? You can always feed
the output of a debugfs_* call back into debugfs, and you never need to
check the return values.

Oh, thanks -- that's helpful to know. Looks like I misread debugfs_create_{file,dir}. :-)

I'll send v3.