Skip to content
Snippets Groups Projects
Commit 4746caeb authored by Andrew Cooks's avatar Andrew Cooks
Browse files

Merge branch 'topic/cleanup/remove-redundant-STRING_FMT-macro'

parents a9e77ef1 60634121
No related branches found
No related tags found
No related merge requests found
......@@ -120,6 +120,12 @@ sed -i 's|\(#define\s\+ERR(.*\)||g' tn40.h
# replace ERR(...) macro with pr_err(...)
sed -i 's|\(\s\+\)\(ERR(\)|\1pr_err(|g' *.c *.h
# remove redundant STRING_FMT macro
sed -i 's|\#define\s\+STRING_FMT.*||g' tn40.h
sed -i 's|" STRING_FMT "|%s|g' *.c *.h
sed -i 's|STRING_FMT\s\+"|"%s|g' *.c *.h
perl -0777 -i -pe 's|STRING_FMT\s*\n\s*"|"%s|g' *.c *.h
# Insert new cleanup steps above this comment.
# Keep Lindent as the last step.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment