[dpdk-dev] checkpatch question -- CamelCase versus PRIu32

Ferruh Yigit ferruh.yigit at intel.com
Tue Mar 21 11:01:11 CET 2017


On 3/20/2017 3:58 PM, Ed Czeck wrote:
> Hi All,
> I have a small number checkpatch.sh messages in the pattern below.  The
> message is a conflict between the definition of PRIu32 in the system header
> files and the DPDK checkpatch setup.
> 
> CHECK:CAMELCASE: Avoid CamelCase: <PRIu32>
> #866: FILE: drivers/net/ark/ark_debug.h:41:
> +#define ARK_SU32  "\n\t%-20s    %'20" PRIu32
> 
>  Is there a preferred way to resolve this?

Not I am aware of,
overall camel case syntax is not preferred in DPDK, and you can ignore
warnings for PRIu32, PRIu64 ..

> 
> Thanks
> Ed
> 



More information about the dev mailing list