Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Oct 2014 10:04:26 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r272683 - in head/sys/ofed: drivers/net/mlx4 include/linux/mlx4
Message-ID:  <201410071004.s97A4Qo1086054@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Tue Oct  7 10:04:25 2014
New Revision: 272683
URL: https://svnweb.freebsd.org/changeset/base/272683

Log:
  Fix compile warning when compiling with GCC.
  
  MFC after:	3 days
  Sponsored by:	Mellanox Technologies

Modified:
  head/sys/ofed/drivers/net/mlx4/mlx4.h
  head/sys/ofed/include/linux/mlx4/device.h

Modified: head/sys/ofed/drivers/net/mlx4/mlx4.h
==============================================================================
--- head/sys/ofed/drivers/net/mlx4/mlx4.h	Tue Oct  7 08:23:37 2014	(r272682)
+++ head/sys/ofed/drivers/net/mlx4/mlx4.h	Tue Oct  7 10:04:25 2014	(r272683)
@@ -1234,6 +1234,7 @@ int mlx4_trans_to_dmfs_attach(struct mlx
 			      u8 gid[16], u8 port,
 			      int block_mcast_loopback,
 			      enum mlx4_protocol prot, u64 *reg_id);
+int mlx4_SET_MCAST_FLTR(struct mlx4_dev *dev, u8 port, u64 mac, u64 clear, u8 mode);
 int mlx4_SET_MCAST_FLTR_wrapper(struct mlx4_dev *dev, int slave,
 				struct mlx4_vhcr *vhcr,
 				struct mlx4_cmd_mailbox *inbox,

Modified: head/sys/ofed/include/linux/mlx4/device.h
==============================================================================
--- head/sys/ofed/include/linux/mlx4/device.h	Tue Oct  7 08:23:37 2014	(r272682)
+++ head/sys/ofed/include/linux/mlx4/device.h	Tue Oct  7 10:04:25 2014	(r272683)
@@ -1208,7 +1208,6 @@ int mlx4_multicast_promisc_add(struct ml
 int mlx4_multicast_promisc_remove(struct mlx4_dev *dev, u32 qpn, u8 port);
 int mlx4_unicast_promisc_add(struct mlx4_dev *dev, u32 qpn, u8 port);
 int mlx4_unicast_promisc_remove(struct mlx4_dev *dev, u32 qpn, u8 port);
-int mlx4_SET_MCAST_FLTR(struct mlx4_dev *dev, u8 port, u64 mac, u64 clear, u8 mode);
 
 int mlx4_register_mac(struct mlx4_dev *dev, u8 port, u64 mac);
 void mlx4_unregister_mac(struct mlx4_dev *dev, u8 port, u64 mac);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410071004.s97A4Qo1086054>