OSDN Git Service

debugfs: drop inline constant formatting for ERR_PTR(-ERROR)
authorBagas Sanjaya <bagasdotme@gmail.com>
Mon, 20 Feb 2023 12:47:21 +0000 (19:47 +0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Feb 2023 13:14:56 +0000 (14:14 +0100)
commit88cd618dcc7b63baa1478730b02eaba3e3148467
tree8a0bcfa9527290b2b2f8658639ffbf5d51789762
parent9f467f6375afd3c7667dbabcfff35c22961e1c0b
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/20230220163133.481e43d8@canb.auug.org.au/
Fixes: d3002468cb5d5d ("debugfs: update comment of debugfs_rename()")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
Link: https://lore.kernel.org/r/20230220124721.11657-1-bagasdotme@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/debugfs/inode.c