Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dab9630f authored by Martin Waitz's avatar Martin Waitz Committed by David S. Miller
Browse files

[NET]: make function pointer argument parseable by kernel-doc



When a function takes a function pointer as argument it should use the 'return
(*pointer)(params...)' syntax used everywhere else in the kernel as this is
recognized by kernel-doc.

Signed-off-by: default avatarMartin Waitz <tali@admingilde.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2fdf1faa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1725,7 +1725,7 @@ unsigned int skb_find_text(struct sk_buff *skb, unsigned int from,
 * of the skb if any page alloc fails user this procedure returns  -ENOMEM
 */
int skb_append_datato_frags(struct sock *sk, struct sk_buff *skb,
			int getfrag(void *from, char *to, int offset,
			int (*getfrag)(void *from, char *to, int offset,
					int len, int odd, struct sk_buff *skb),
			void *from, int length)
{