Skip to content

Commit d78aa60

Browse files
zijun-huAndreas Hindborg
authored andcommitted
configfs: Delete semicolon from macro type_print() definition
Macro type_print() definition ends with semicolon, so will cause the subsequent macro invocations end with two semicolons. Fix by deleting the semicolon from the macro definition. Reviewed-by: Joel Becker <[email protected]> Signed-off-by: Zijun Hu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Andreas Hindborg <[email protected]>
1 parent eae324c commit d78aa60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/configfs/dir.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,7 @@ static void configfs_dump_one(struct configfs_dirent *sd, int level)
970970
{
971971
pr_info("%*s\"%s\":\n", level, " ", configfs_get_name(sd));
972972

973-
#define type_print(_type) if (sd->s_type & _type) pr_info("%*s %s\n", level, " ", #_type);
973+
#define type_print(_type) if (sd->s_type & _type) pr_info("%*s %s\n", level, " ", #_type)
974974
type_print(CONFIGFS_ROOT);
975975
type_print(CONFIGFS_DIR);
976976
type_print(CONFIGFS_ITEM_ATTR);

0 commit comments

Comments
 (0)