[dpdk-dev] [PATCH v2] fix checkpatch errors
Thomas Monjalon
thomas.monjalon at 6wind.com
Wed Jan 27 19:16:23 CET 2016
2016-01-27 01:26, Huawei Xie:
> v2 changes:
> add missed commit message in v1
>
> fix the error reported by checkpatch:
> "ERROR: return is not a function, parentheses are not required"
>
> also removed other extra parentheses like:
> "return val == 0"
> "return (rte_mempool_lookup(...))"
How these examples are differents from above checkpatch error?
Please add Fixes: 6307b909b8e0 ("lib: remove extra parenthesis after return")
This is the second run after above commit but I still see a lot of them.
Please check git grep 'return *('
More information about the dev
mailing list