On Thu, 2014-09-18 at 12:31 -0700, Joe Perches wrote:
I don't mind the const argument, but casting
the return to non-const seems like poor form.
This is the current way to do this, even if we do not like it.
C does not allow to have the same function name for different
parameters, there is nothing we can do about it at this moment.
->
static inline const struct ipoib_cb *ipoib_skb_cb(const struct sk_buff *skb)
static inline struct ipoib_cb *ipoib_skb_cb(struct sk_buff *skb)