bus/dpaa: fix clang warnings
authorHemant Agrawal <hemant.agrawal@nxp.com>
Thu, 25 Jan 2018 09:53:27 +0000 (15:23 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 30 Jan 2018 15:54:15 +0000 (16:54 +0100)
commitd309d48aeee4512e53d3d8e8e6eb626bb79f5c22
treeb2990e4c45032b8ff2ee81c192e395616ca764a1
parent783b6e54971d63f795e3ef71ced89f699bc01f81
bus/dpaa: fix clang warnings

fman.c:570:15: error: format specifies type 'unsigned short'
but the argument has type 'int'

fman/netcfg_layer.c:80:1: error: unused function 'get_num_netcfg_interfaces'

Fixes: 919eeaccb2ba ("bus/dpaa: introduce NXP DPAA bus driver skeleton")
Fixes: 5b22cf744689 ("bus/dpaa: introducing FMan configurations")
Cc: stable@dpdk.org
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/bus/dpaa/base/fman/fman.c
drivers/bus/dpaa/base/fman/netcfg_layer.c
drivers/bus/dpaa/dpaa_bus.c