lkml.org 
[lkml]   [2014]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] tipc: Let tipc_release() return 0
From
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.
\
 
 \ /
  Last update: 2014-04-07 21:41    [W:0.022 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site