[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <56B35DCB.3000408@redhat.com>
Date: Thu, 4 Feb 2016 15:18:51 +0100
From: Tomas Henzl <thenzl@...hat.com>
To: Suganath prabu Subaramani
<suganath-prabu.subramani@...gotech.com>, JBottomley@...allels.com,
jejb@...nel.org, hch@...radead.org
Cc: martin.petersen@...cle.com, linux-scsi@...r.kernel.org,
Sathya.Prakash@...gotech.com, kashyap.desai@...gotech.com,
krishnaraddi.mankani@...gotech.com, linux-kernel@...r.kernel.org,
chaitra.basappa@...gotech.com, sreekanth.reddy@...gotech.com
Subject: Re: [mpt3sas driver 03/10] mpt3sas: Fix static analyzer(coverity)
tool identified defects
On 28.1.2016 07:37, Suganath prabu Subaramani wrote:
> From: Suganath prabu Subramani <suganath-prabu.subramani@...gotech.com>
>
> 1.Wrong size of argument is being passed
> The size of struct being passed as an argument to memset func and area of
> memory being pointed by an instance of struct in memset func should be of
> same structure type.
> 2.Dereference null return value
> 3.Array compared against '0'
> Check whether value pointed by particular index of an array is null or not
> in "if" statement.
>
> Signed-off-by: Suganath prabu Subramani <suganath-prabu.subramani@...gotech.com>
> Signed-off-by: Chaitra P B <chaitra.basappa@...gotech.com>
Reviewed-by: Tomas Henzl <thenzl@...hat.com>
Tomas
Powered by blists - more mailing lists