From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Carpenter Date: Mon, 05 Jan 2015 11:22:06 +0000 Subject: Re: [PATCH 1/8] fs/9p: Deletion of unnecessary checks before the function call "p9_client_clunk" Message-Id: <20150105112206.GC15033@mwanda> List-Id: References: <530CD2C4.4050903@users.sourceforge.net> <530CF8FF.8080600@users.sourceforge.net> <530DD06F.4090703@users.sourceforge.net> <5317A59D.4@users.sourceforge.net> <54A01326.3050306@users.sourceforge.net> <54A06AB9.4020505@users.sourceforge.net> In-Reply-To: <54A06AB9.4020505@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: SF Markus Elfring Cc: Eric Van Hensbergen , Latchesar Ionkov , Ron Minnich , v9fs-developer@lists.sourceforge.net, LKML , kernel-janitors@vger.kernel.org, Julia Lawall On Sun, Dec 28, 2014 at 09:40:25PM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 27 Dec 2014 09:34:39 +0100 > > The p9_client_clunk() function tests whether its argument is NULL > and then returns immediately. Thus the test around the call is not needed. > Not true. You are not allowed to call p9_client_clunk(NULL). I assume this patch adds a bug. You have tried to introduce several of these kinds of bugs. You are not careful enough. regards, dan carpenter