On 20.02.2018 09:02, Su Hang wrote: > Formating the code with `clang-format -i util/uri.c`. > My .clang-format file content is: > ''' > IndentWidth: 4 > BreakBeforeBraces: Linux > ''' > > Then use `perl -pi -e "s/return \((.*?)\);/return \1;/g" util/uri.c` > to remove pattern like this: "return (1);"
The patch does not apply on git master ... did you do this on top of your previous patch? If so, please create a patch against the git master branch instead. > checkpatch.pl still rise these two kinds of "ERROR", I'm not sure > whether I should also suppress these, so I left it. I think it's OK if you ignore those errors for now. Thomas
