OSDN Git Service

dpaa2-eth: Make constant 64-bit long
authorIoana Radulescu <ruxandra.radulescu@nxp.com>
Fri, 24 May 2019 15:15:17 +0000 (18:15 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 26 May 2019 20:41:33 +0000 (13:41 -0700)
commit4ca6dee5220fe2377bf12b354ef85978425c9ec7
tree00670a3ce6754802bd1250b3551899739b5fadec
parentbd8460fa4de46e9d6177af4fe33bf0763a7af4b7
dpaa2-eth: Make constant 64-bit long

Function dpaa2_eth_cls_key_size() expects a 64bit argument,
but DPAA2_ETH_DIST_ALL is defined as UINT_MAX. Fix this.

Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h