Re: [PATCH] SCTP: fix compile warning building without CONFIG_IPV6

From: Li Zefan
Date: Mon Mar 24 2008 - 03:03:18 EST


David Miller wrote:
> From: Li Zefan <lizf@xxxxxxxxxxxxxx>
> Date: Mon, 24 Mar 2008 14:11:20 +0800
>
>> include/net/sctp/sctp.h: In function âsctp_v6_pf_initâ:
>> include/net/sctp/sctp.h:392: warning: 'return' with a value, in function returning void
>>
>> This warning repeats several times.
>>
>> Signed-off-by: Li Zefan <lizf@xxxxxxxxxxxxxx>
>
> Fixed in net-2.6 for several days already.

I looked into the git-log of net-2.6-26 and didn't find the fix.
So I posted this patch..
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/