malloc: fix style in free list index computation
authorYunjian Wang <wangyunjian@huawei.com>
Thu, 12 Nov 2020 09:31:15 +0000 (17:31 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 22 Nov 2020 17:52:07 +0000 (18:52 +0100)
commita99d2521a3b8e33c34eb8fdf5719c0e8f0cf07a7
treea668908e254506a49f02144cc4c087b139e032bc
parent5882bde88da28b82f138676544ca9e807a9124f5
malloc: fix style in free list index computation

Cleanup code style issue reported by kernel checkpatch. As follows:
  * ERROR:CODE_INDENT: code indent should use tabs where possible
  * ERROR:SPACING: spaces required around that '?' (ctx:VxE)
  * WARNING:INDENTED_LABEL: labels should not be indented

Fixes: b0489e7bca2f ("malloc: fix linear complexity")
Cc: stable@dpdk.org
Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
lib/librte_eal/common/malloc_elem.c