Messages in this thread | | | Date | Mon, 07 Apr 2014 15:08:51 -0400 (EDT) | Subject | Re: [PATCH] tipc: Let tipc_release() return 0 | From | David Miller <> |
| |
From: Geert Uytterhoeven <geert@linux-m68k.org> 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@linux-m68k.org>
Applied, thanks a lot Geert.
| |