commit ff9fb72bc077 ("debugfs: return error values, not NULL") changed the return values of various debugfs functions in fs/debugfs/inode.c but did not update the documentation or behaviour of affected functions in fs/debugfs/file.c . These patches attempt to remedy this. Ronald Tschalär (2): debugfs: update documented return values of debugfs helpers debugfs: make return value of all debugfs helpers consistent Documentation/filesystems/debugfs.txt | 16 +++--- fs/debugfs/file.c | 79 ++++++++++++--------------- 2 files changed, 45 insertions(+), 50 deletions(-) -- 2.20.1