Re: [SCSI] ufs: add support for query requests

2013-05-07 Thread Dolev Raviv
> On Tue, 2013-05-07 at 17:25 +0300, Dan Carpenter wrote: >> Hello Dolev Raviv, >> >> This is a semi-automatic email about new static checker warnings. >> >> The patch 3aee47c623a3: "[SCSI] ufs: add support for query requests" >> from May 2, 2013, leads to the following Smatch complaint: >> >> dri

Re: [SCSI] ufs: add support for query requests

2013-05-07 Thread James Bottomley
On Tue, 2013-05-07 at 17:25 +0300, Dan Carpenter wrote: > Hello Dolev Raviv, > > This is a semi-automatic email about new static checker warnings. > > The patch 3aee47c623a3: "[SCSI] ufs: add support for query requests" > from May 2, 2013, leads to the following Smatch complaint: > > drivers/scs

re: [SCSI] ufs: add support for query requests

2013-05-07 Thread Dan Carpenter
Hello Dolev Raviv, This is a semi-automatic email about new static checker warnings. The patch 3aee47c623a3: "[SCSI] ufs: add support for query requests" from May 2, 2013, leads to the following Smatch complaint: drivers/scsi/ufs/ufshcd.c:723 ufshcd_query_request() error: we previously

Re: scsi: ufs: add support for query requests

2013-04-15 Thread Dolev Raviv
Santosh, thank you very much for your comments. Most where adopted, others where replied inline. Please note the comment on removing ufs_coe.c file. I will appreciated your opinion on that. > linux-...@vger.kernel.org is for UFS filesystem. > >> The API for submitting a query request is ufs_quer

Re: scsi: ufs: add support for query requests

2013-04-10 Thread Santosh Y
> > This can be done inside the following if condition i.e. if > (hba->query.descriptor != NULL). > and change the condition to if (!hba->query.descriptor). > I meant to write if (hba->query.descriptor)...:-) -- ~Santosh -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in

Re: scsi: ufs: add support for query requests

2013-04-10 Thread Santosh Y
linux-...@vger.kernel.org is for UFS filesystem. > The API for submitting a query request is ufs_query_request() in > ufs_core.c. This function is responsible for: This can be part of ufshcd.c which is actually the core file, no need to create a new core file for the function. > + > +#define UFS