diff options
author | Madalin Bucur <madalin.bucur@freescale.com> | 2014-09-17 16:09:55 (GMT) |
---|---|---|
committer | Madalin Bucur <madalin.bucur@freescale.com> | 2014-10-08 13:19:58 (GMT) |
commit | cc10a9382b5049445254a40a7f8f42ccf6339e6d (patch) | |
tree | 78e302d1e6295b384cec1ef497925bcbcf9f8914 /drivers | |
parent | 757240ec24246529441da897bc66e65111c397c6 (diff) | |
download | linux-fsl-qoriq-cc10a9382b5049445254a40a7f8f42ccf6339e6d.tar.xz |
dpaa_eth: add explicit cast where needed
Signed-off-by: Madalin Bucur <madalin.bucur@freescale.com>
Change-Id: I20f1609771d66778acfbbca65e6d0b8ceecb326a
Reviewed-on: http://git.am.freescale.net:8181/19077
Reviewed-by: Marian Cristian Rotariu <marian.rotariu@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/freescale/dpa/offline_port.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/dpa/offline_port.c b/drivers/net/ethernet/freescale/dpa/offline_port.c index 141d34f..b9f17cf 100644 --- a/drivers/net/ethernet/freescale/dpa/offline_port.c +++ b/drivers/net/ethernet/freescale/dpa/offline_port.c @@ -728,7 +728,7 @@ config_port: of_read_number(bpool_cfg, n_size); ext_pool_size = of_read_number(bpool_cfg + n_size, n_size); - oh_port_tx_params.pool_param[i].size = ext_pool_size; + oh_port_tx_params.pool_param[i].size = (uint16_t)ext_pool_size; dev_dbg(dpa_oh_dev, "OH port bpool size = %u\n", ext_pool_size); of_node_put(bpool_node); |