[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YCKK0uSFxMYv6rqJ@chrisdown.name>
Date: Tue, 9 Feb 2021 13:14:58 +0000
From: Chris Down <chris@...isdown.name>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-kernel@...r.kernel.org, Petr Mladek <pmladek@...e.com>,
Sergey Senozhatsky <sergey.senozhatsky@...il.com>,
John Ogness <john.ogness@...utronix.de>,
Johannes Weiner <hannes@...xchg.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Steven Rostedt <rostedt@...dmis.org>,
Kees Cook <keescook@...omium.org>, kernel-team@...com
Subject: Re: [PATCH v2] printk: Userspace format enumeration support
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.
Powered by blists - more mailing lists