All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next] qede: Fix compilation without QED_RDMA
@ 2017-06-21  5:26 Yuval Mintz
  2017-06-21 15:34 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Yuval Mintz @ 2017-06-21  5:26 UTC (permalink / raw)
  To: davem, netdev; +Cc: Michal.Kalderon, Chad Dupuis, Yuval Mintz

From: Chad Dupuis <chad.dupuis@cavium.com>

When CONFIG_QED_RDMA isn't defined, we'd hit the following:

 /include/linux/qed/qede_rdma.h:84:19:
 warning: ‘qede_rdma_dev_add’ used but never defined [enabled by default]
 static inline int qede_rdma_dev_add(struct qede_dev *dev);

Fixes: bbfcd1e8e167 ("qed*: Set rdma generic functions prefix")
Signed-off-by: Chad Dupuis <chad.dupuis@cavium.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
---
 include/linux/qed/qede_rdma.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/qed/qede_rdma.h b/include/linux/qed/qede_rdma.h
index 1348a16..9904617 100644
--- a/include/linux/qed/qede_rdma.h
+++ b/include/linux/qed/qede_rdma.h
@@ -81,7 +81,7 @@ void qede_rdma_dev_remove(struct qede_dev *dev);
 void qede_rdma_event_changeaddr(struct qede_dev *edr);
 
 #else
-static inline int qede_rdma_dev_add(struct qede_dev *dev);
+static inline int qede_rdma_dev_add(struct qede_dev *dev)
 {
 	return 0;
 }
-- 
2.9.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH net-next] qede: Fix compilation without QED_RDMA
  2017-06-21  5:26 [PATCH net-next] qede: Fix compilation without QED_RDMA Yuval Mintz
@ 2017-06-21 15:34 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2017-06-21 15:34 UTC (permalink / raw)
  To: Yuval.Mintz; +Cc: netdev, Michal.Kalderon, chad.dupuis

From: Yuval Mintz <Yuval.Mintz@cavium.com>
Date: Wed, 21 Jun 2017 08:26:34 +0300

> From: Chad Dupuis <chad.dupuis@cavium.com>
> 
> When CONFIG_QED_RDMA isn't defined, we'd hit the following:
> 
>  /include/linux/qed/qede_rdma.h:84:19:
>  warning: ‘qede_rdma_dev_add’ used but never defined [enabled by default]
>  static inline int qede_rdma_dev_add(struct qede_dev *dev);
> 
> Fixes: bbfcd1e8e167 ("qed*: Set rdma generic functions prefix")
> Signed-off-by: Chad Dupuis <chad.dupuis@cavium.com>
> Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-06-21 16:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-21  5:26 [PATCH net-next] qede: Fix compilation without QED_RDMA Yuval Mintz
2017-06-21 15:34 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.