[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140305185048.GC26722@mwanda>
Date: Wed, 5 Mar 2014 21:53:06 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: "Maxin B. John" <maxin.john@...il.com>
Cc: linux-kernel@...r.kernel.org, devel@...verdev.osuosl.org,
andreas.dilger@...el.com, gregkh@...uxfoundation.org,
bergwolf@...il.com, alexey.zhuravlev@...el.com,
josh@...htriplett.org, dulshani.gunawardhana89@...il.com,
jinshan.xiong@...el.com, "Maxin B. John" <maxin.john@...a.com>
Subject: Re: [PATCH 1/2] lustre/mdc_lib: fix possible null pointer dereference
On Wed, Mar 05, 2014 at 02:04:35PM +0100, Maxin B. John wrote:
> From: "Maxin B. John" <maxin.john@...a.com>
>
> cppcheck reported possible null pointer dereference in mdc_lib.c
>
> [lustre/lustre/mdc/mdc_lib.c:233]: (error) Possible null pointer dereference
> : op_data - otherwise it is redundant to check if op_data is null at line 226
>
There is only one caller and "op_data" is not NULL.
regards,
dan carpenter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists