Re: [PATCH] tipc: Let tipc_release() return 0

From: David Miller
Date: Mon Apr 07 2014 - 15:09:02 EST


From: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Date: Sun, 6 Apr 2014 15:56:14 +0200

> net/tipc/socket.c: In function ʽtipc_releaseʼ:
> net/tipc/socket.c:352: warning: ʽresʼ is used uninitialized in this function
>
> Introduced by commit 24be34b5a0c9114541891d29dff1152bb1a8df34 ("tipc:
> eliminate upcall function pointers between port and socket"), which
> removed the sole initializer of "res".
>
> Just return 0 to fix it.
>
> Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

Applied, thanks a lot Geert.