summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorLijun Pan <lijunp213@gmail.com>2021-06-14 08:20:45 +0300
committerDavid S. Miller <davem@davemloft.net>2021-06-14 22:56:50 +0300
commit673ead2431e205ba9e9ccd6059532564ab83eb0a (patch)
treeb22bd1600023aed1971543a51e35f19c8d5d7bec /drivers/net
parent645a7fe13c8b7b66a8898b58b38405e26913527c (diff)
downloadlinux-673ead2431e205ba9e9ccd6059532564ab83eb0a.tar.xz
ibmvnic: fix send_request_map incompatible argument
The 3rd argument is u32 by function definition while it is __be32 by function declaration. Signed-off-by: Lijun Pan <lijunp213@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ethernet/ibm/ibmvnic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ibm/ibmvnic.c b/drivers/net/ethernet/ibm/ibmvnic.c
index 99eddb2c8e36..2d8804ebdf96 100644
--- a/drivers/net/ethernet/ibm/ibmvnic.c
+++ b/drivers/net/ethernet/ibm/ibmvnic.c
@@ -95,7 +95,7 @@ static union sub_crq *ibmvnic_next_scrq(struct ibmvnic_adapter *,
struct ibmvnic_sub_crq_queue *);
static int ibmvnic_poll(struct napi_struct *napi, int data);
static void send_query_map(struct ibmvnic_adapter *adapter);
-static int send_request_map(struct ibmvnic_adapter *, dma_addr_t, __be32, u8);
+static int send_request_map(struct ibmvnic_adapter *, dma_addr_t, u32, u8);
static int send_request_unmap(struct ibmvnic_adapter *, u8);
static int send_login(struct ibmvnic_adapter *adapter);
static void send_query_cap(struct ibmvnic_adapter *adapter);