On Friday 19 July 2013, Dan Carpenter wrote:
debugfs_create_dir() returns ERR_PTR(-ENODEV) if debugfs is disabled.
Also my static checker doesn't like it when we print the error code, but
it's always just NULL.
Signed-off-by: Dan Carpenter dan.carpen...@oracle.com
This looks wrong.
On Saturday 20 July 2013, Dan Carpenter wrote:
On Fri, Jul 19, 2013 at 12:28:41PM +0200, Arnd Bergmann wrote:
On Friday 19 July 2013, Dan Carpenter wrote:
debugfs_create_dir() returns ERR_PTR(-ENODEV) if debugfs is disabled.
Also my static checker doesn't like it when we print the error
On Sun, Jul 21, 2013 at 11:36:25AM +0200, Arnd Bergmann wrote:
On Saturday 20 July 2013, Dan Carpenter wrote:
On Fri, Jul 19, 2013 at 12:28:41PM +0200, Arnd Bergmann wrote:
On Friday 19 July 2013, Dan Carpenter wrote:
debugfs_create_dir() returns ERR_PTR(-ENODEV) if debugfs is disabled.
I don't see where that oops would happen. In the code I'm looking at,
all uses of -debugfs_dir only ever get passed into other debugfs
functions that are stubbed out to empty inline functions.
It's not the most obvious interface design, but this all seems intentional
and correct to me.
Ah.
On Fri, Jul 19, 2013 at 12:28:41PM +0200, Arnd Bergmann wrote:
On Friday 19 July 2013, Dan Carpenter wrote:
debugfs_create_dir() returns ERR_PTR(-ENODEV) if debugfs is disabled.
Also my static checker doesn't like it when we print the error code, but
it's always just NULL.
On (Fri) 19 Jul 2013 [08:50:49], Dan Carpenter wrote:
debugfs_create_dir() returns ERR_PTR(-ENODEV) if debugfs is disabled.
Also my static checker doesn't like it when we print the error code, but
it's always just NULL.
Signed-off-by: Dan Carpenter dan.carpen...@oracle.com
Reviewed-by: Amit
debugfs_create_dir() returns ERR_PTR(-ENODEV) if debugfs is disabled.
Also my static checker doesn't like it when we print the error code, but
it's always just NULL.
Signed-off-by: Dan Carpenter dan.carpen...@oracle.com
diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c