diff options
author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-04-24 15:15:47 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-04-27 14:07:30 -0400 |
commit | 47a3968a985e1686f41a55b4099fd1b5e16a5969 (patch) | |
tree | 40cd2c11b1ea677817620adf37dd5bcbd315a44b /drivers/infiniband/core/iwpm_util.c | |
parent | IB/nes: fix nes_netdev_start_xmit()'s return type (diff) | |
download | linux-dev-47a3968a985e1686f41a55b4099fd1b5e16a5969.tar.xz linux-dev-47a3968a985e1686f41a55b4099fd1b5e16a5969.zip |
IB/ipoib: fix ipoib_start_xmit()'s return type
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t',
which is a typedef for an enum type, but the implementation in this
driver returns an 'int'.
Fix this by returning 'netdev_tx_t' in this driver too.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/core/iwpm_util.c')
0 files changed, 0 insertions, 0 deletions