[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20111103.181221.937202740160630303.davem@davemloft.net>
Date: Thu, 03 Nov 2011 18:12:21 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: olof@...om.net
Cc: netdev@...r.kernel.org, loke.chetan@...il.com
Subject: Re: [PATCH] af_packet: de-inline some helper functions
From: Olof Johansson <olof@...om.net>
Date: Wed, 2 Nov 2011 14:00:49 -0700
> This popped some compiler errors due to mismatched prototypes. Just
> remove most manual inlines, the compiler should be able to figure out
> what makes sense to inline and not.
>
> net/packet/af_packet.c:252: warning: 'prb_curr_blk_in_use' declared inline after being called
> net/packet/af_packet.c:252: warning: previous declaration of 'prb_curr_blk_in_use' was here
> net/packet/af_packet.c:258: warning: 'prb_queue_frozen' declared inline after being called
> net/packet/af_packet.c:258: warning: previous declaration of 'prb_queue_frozen' was here
> net/packet/af_packet.c:248: warning: 'packet_previous_frame' declared inline after being called
> net/packet/af_packet.c:248: warning: previous declaration of 'packet_previous_frame' was here
> net/packet/af_packet.c:251: warning: 'packet_increment_head' declared inline after being called
> net/packet/af_packet.c:251: warning: previous declaration of 'packet_increment_head' was here
>
> Signed-off-by: Olof Johansson <olof@...om.net>
> Cc: Chetan Loke <loke.chetan@...il.com>
Looks good, applied, thanks Olof.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists