From mboxrd@z Thu Jan 1 00:00:00 1970 From: Denis Bolotin Subject: [PATCH net] qed: Fix qed compilation issue when CONFIG_QED_RDMA not defined Date: Wed, 14 Nov 2018 16:36:51 +0200 Message-ID: <20181114143651.24833-1-denis.bolotin@cavium.com> Mime-Version: 1.0 Content-Type: text/plain Cc: , Denis Bolotin To: , Return-path: Received: from mail-eopbgr820055.outbound.protection.outlook.com ([40.107.82.55]:47935 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727822AbeKOAkh (ORCPT ); Wed, 14 Nov 2018 19:40:37 -0500 Sender: netdev-owner@vger.kernel.org List-ID: Add a missing semicolon to a line in an empty implementation function. Signed-off-by: Denis Bolotin Signed-off-by: Ariel Elior --- drivers/net/ethernet/qlogic/qed/qed_rdma.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/qlogic/qed/qed_rdma.h b/drivers/net/ethernet/qlogic/qed/qed_rdma.h index 50d609c..5eec88c 100644 --- a/drivers/net/ethernet/qlogic/qed/qed_rdma.h +++ b/drivers/net/ethernet/qlogic/qed/qed_rdma.h @@ -183,7 +183,10 @@ struct qed_rdma_qp { static inline void qed_rdma_dpm_conf(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) {} static inline void qed_rdma_dpm_bar(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) {} -static inline int qed_rdma_info_alloc(struct qed_hwfn *p_hwfn) {return -EINVAL} +static inline int qed_rdma_info_alloc(struct qed_hwfn *p_hwfn) +{ + return -EINVAL; +} static inline void qed_rdma_info_free(struct qed_hwfn *p_hwfn) {} #endif -- 1.8.3.1