Skip to content

Commit 88cd618

Browse files
bagasmegregkh
authored andcommitted
debugfs: drop inline constant formatting for ERR_PTR(-ERROR)
Stephen Rothwell reported htmldocs warning when merging driver-core tree for linux-next: Documentation/filesystems/api-summary:146: fs/debugfs/inode.c:804: WARNING: Inline literal start-string without end-string. The warning is due to inline constant formatting (``%CONST``) doesn't play nice with complex-name constants like ERR_PTR(-ERROR). Drop the formatting for that constant above to be consistent with similar error constants and also to fix the above warning. Link: https://lore.kernel.org/lkml/[email protected]/ Fixes: d300246 ("debugfs: update comment of debugfs_rename()") Reported-by: Stephen Rothwell <[email protected]> Signed-off-by: Bagas Sanjaya <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 9f467f6 commit 88cd618

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/debugfs/inode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ EXPORT_SYMBOL_GPL(debugfs_lookup_and_remove);
802802
* exist for rename to succeed.
803803
*
804804
* This function will return a pointer to old_dentry (which is updated to
805-
* reflect renaming) if it succeeds. If an error occurs, %ERR_PTR(-ERROR)
805+
* reflect renaming) if it succeeds. If an error occurs, ERR_PTR(-ERROR)
806806
* will be returned.
807807
*
808808
* If debugfs is not enabled in the kernel, the value -%ENODEV will be

0 commit comments

Comments
 (0)