From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Sat, 25 Aug 2012 00:08:45 +0200 References: <1345451209-8898-2-git-send-email-sven@narfation.org> <1345498646-21878-1-git-send-email-sven@narfation.org> In-Reply-To: <1345498646-21878-1-git-send-email-sven@narfation.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201208250008.45829.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [PATCHv3 2/3] batman-adv: Check return value of try_module_get Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: b.a.t.m.a.n@lists.open-mesh.org On Monday, August 20, 2012 23:37:26 Sven Eckelmann wrote: > New operations should not be started when they need an increased module > reference counter and try_module_get failed. > > This patch addresses Coverity #712284: Unchecked return value > > Signed-off-by: Sven Eckelmann > --- > Removed the wrapper functions > > debugfs.c | 6 ++++-- > icmp_socket.c | 12 ++++++++---- > main.c | 10 ---------- > main.h | 2 -- > 4 files changed, 12 insertions(+), 18 deletions(-) Applied in revision 2e66c5e. Thanks, Marek