aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-dpdk/odp_system_info.c
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2021-05-24 10:57:28 +0300
committerMatias Elo <matias.elo@nokia.com>2021-05-26 15:56:30 +0300
commit508ae02fa7b3f752f03a38538c8da62b1a2f2e91 (patch)
treecc0c0864cd0599f0e2e4e83b8c86601709fba49b /platform/linux-dpdk/odp_system_info.c
parent219c6c3c3500bfdd4557331b2ca30e341ea7ed4c (diff)
Port af5490310 "linux-gen: fix white space style checks"
Port original commit from linux-generic. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
Diffstat (limited to 'platform/linux-dpdk/odp_system_info.c')
-rw-r--r--platform/linux-dpdk/odp_system_info.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/linux-dpdk/odp_system_info.c b/platform/linux-dpdk/odp_system_info.c
index b6a723fd8..42c502fda 100644
--- a/platform/linux-dpdk/odp_system_info.c
+++ b/platform/linux-dpdk/odp_system_info.c
@@ -172,7 +172,8 @@ static char *get_hugepage_dir(uint64_t hugepage_sz)
retval = strdup(tokens[MOUNTPT]);
break;
}
- } else { /* there is an explicit page size, so check it */
+ } else {
+ /* there is an explicit page size, so check it */
pagesz = rte_str_to_size(&pagesz_str[pagesize_opt_len]);
if (pagesz == hugepage_sz) {
retval = strdup(tokens[MOUNTPT]);