ring: cleanup coding style
authorMorten Brørup <mb@smartsharesystems.com>
Tue, 19 May 2020 15:27:24 +0000 (15:27 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 1 Jul 2020 09:46:09 +0000 (11:46 +0200)
commit36e3cfbbefcfec8174479282f7632885ee37324e
tree960ded3fab25b4161250adfbec775a318b98f8bb
parent708d904451c8f8e431cd783753812e1ffe7a92fc
ring: cleanup coding style

Fix coding style violations that checkpatch will complain about.

Add missing "int" after "unsigned".
Add missing spaces around "+=" and "+".
Remove superfluous type cast of numerical constant.

Suggested-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Signed-off-by: Morten Brørup <mb@smartsharesystems.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
lib/librte_ring/rte_ring.c
lib/librte_ring/rte_ring.h
lib/librte_ring/rte_ring_elem.h
lib/librte_ring/rte_ring_hts.h
lib/librte_ring/rte_ring_rts.h