Hal> drivers/infiniband/ulp/sdp/sdp_link.c:752: warning:
Hal> initialization from incompatible pointer type
It looks like the prototype of struct packet_type.func has changed
since 2.6.13. <linux/netdevice.h> in 2.6.13 has:
struct packet_type {
__be16 type; /* This is really
htons(ether_type). */
struct net_device *dev; /* NULL is wildcarded
here */
int (*func) (struct sk_buff *, struct
net_device *,
struct packet_type *);
void *af_packet_priv;
struct list_head list;
};
while the latest git tree has:
struct packet_type {
__be16 type; /* This is really
htons(ether_type). */
struct net_device *dev; /* NULL is wildcarded here
*/
int (*func) (struct sk_buff *,
struct net_device *,
struct packet_type *,
struct net_device *);
void *af_packet_priv;
struct list_head list;
};
Unfortunately git has pretty bad support for per-file history so I'm
not sure when this change was made.
- R.
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general