* [patch 18/28] scsi/lpfc/lpfc_init.c: remove unused variable
@ 2007-05-11 6:01 akpm
2007-05-11 12:40 ` James Smart
2007-05-22 19:04 ` James Bottomley
0 siblings, 2 replies; 4+ messages in thread
From: akpm @ 2007-05-11 6:01 UTC (permalink / raw)
To: James.Bottomley; +Cc: linux-scsi, akpm, bunk
From: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/scsi/lpfc/lpfc_init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN drivers/scsi/lpfc/lpfc_init.c~scsi-lpfc-lpfc_initc-remove-unused-variable drivers/scsi/lpfc/lpfc_init.c
--- a/drivers/scsi/lpfc/lpfc_init.c~scsi-lpfc-lpfc_initc-remove-unused-variable
+++ a/drivers/scsi/lpfc/lpfc_init.c
@@ -1512,7 +1512,7 @@ lpfc_pci_probe_one(struct pci_dev *pdev,
struct lpfc_sli *psli;
struct lpfc_iocbq *iocbq_entry = NULL, *iocbq_next = NULL;
unsigned long bar0map_len, bar2map_len;
- int error = -ENODEV, retval;
+ int error = -ENODEV;
int i;
uint16_t iotag;
_
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [patch 18/28] scsi/lpfc/lpfc_init.c: remove unused variable
2007-05-11 6:01 [patch 18/28] scsi/lpfc/lpfc_init.c: remove unused variable akpm
@ 2007-05-11 12:40 ` James Smart
2007-05-22 19:04 ` James Bottomley
1 sibling, 0 replies; 4+ messages in thread
From: James Smart @ 2007-05-11 12:40 UTC (permalink / raw)
To: akpm; +Cc: James.Bottomley, linux-scsi, bunk
ACK
-- james s
akpm@linux-foundation.org wrote:
> From: Adrian Bunk <bunk@stusta.de>
>
> Signed-off-by: Adrian Bunk <bunk@stusta.de>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> ---
>
> drivers/scsi/lpfc/lpfc_init.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff -puN drivers/scsi/lpfc/lpfc_init.c~scsi-lpfc-lpfc_initc-remove-unused-variable drivers/scsi/lpfc/lpfc_init.c
> --- a/drivers/scsi/lpfc/lpfc_init.c~scsi-lpfc-lpfc_initc-remove-unused-variable
> +++ a/drivers/scsi/lpfc/lpfc_init.c
> @@ -1512,7 +1512,7 @@ lpfc_pci_probe_one(struct pci_dev *pdev,
> struct lpfc_sli *psli;
> struct lpfc_iocbq *iocbq_entry = NULL, *iocbq_next = NULL;
> unsigned long bar0map_len, bar2map_len;
> - int error = -ENODEV, retval;
> + int error = -ENODEV;
> int i;
> uint16_t iotag;
>
> _
> -
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [patch 18/28] scsi/lpfc/lpfc_init.c: remove unused variable
2007-05-11 6:01 [patch 18/28] scsi/lpfc/lpfc_init.c: remove unused variable akpm
2007-05-11 12:40 ` James Smart
@ 2007-05-22 19:04 ` James Bottomley
2007-05-22 19:34 ` Andrew Morton
1 sibling, 1 reply; 4+ messages in thread
From: James Bottomley @ 2007-05-22 19:04 UTC (permalink / raw)
To: akpm; +Cc: linux-scsi, bunk
On Thu, 2007-05-10 at 23:01 -0700, akpm@linux-foundation.org wrote:
> From: Adrian Bunk <bunk@stusta.de>
>
> Signed-off-by: Adrian Bunk <bunk@stusta.de>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Actually, not against vanilla linus:
drivers/scsi/lpfc/lpfc_init.c: In function 'lpfc_pci_probe_one':
drivers/scsi/lpfc/lpfc_init.c:1581: error: 'retval' undeclared (first use in this function)
drivers/scsi/lpfc/lpfc_init.c:1581: error: (Each undeclared identifier is reported only once
drivers/scsi/lpfc/lpfc_init.c:1581: error: for each function it appears in.)
There's probably some global change in -mm that makes pci_set_mwi()
return void ... in which case, this needs to be swept up into it.
James
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [patch 18/28] scsi/lpfc/lpfc_init.c: remove unused variable
2007-05-22 19:04 ` James Bottomley
@ 2007-05-22 19:34 ` Andrew Morton
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Morton @ 2007-05-22 19:34 UTC (permalink / raw)
To: James Bottomley; +Cc: linux-scsi, bunk
On Tue, 22 May 2007 14:04:02 -0500
James Bottomley <James.Bottomley@SteelEye.com> wrote:
> On Thu, 2007-05-10 at 23:01 -0700, akpm@linux-foundation.org wrote:
> > From: Adrian Bunk <bunk@stusta.de>
> >
> > Signed-off-by: Adrian Bunk <bunk@stusta.de>
> > Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
>
> Actually, not against vanilla linus:
>
> drivers/scsi/lpfc/lpfc_init.c: In function 'lpfc_pci_probe_one':
> drivers/scsi/lpfc/lpfc_init.c:1581: error: 'retval' undeclared (first use in this function)
> drivers/scsi/lpfc/lpfc_init.c:1581: error: (Each undeclared identifier is reported only once
> drivers/scsi/lpfc/lpfc_init.c:1581: error: for each function it appears in.)
>
> There's probably some global change in -mm that makes pci_set_mwi()
> return void ... in which case, this needs to be swept up into it.
>
yep, sorry. I rebadged this patch as being
"after Greg merges add-pci_try_set_mwi.patch"
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-05-22 19:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-11 6:01 [patch 18/28] scsi/lpfc/lpfc_init.c: remove unused variable akpm
2007-05-11 12:40 ` James Smart
2007-05-22 19:04 ` James Bottomley
2007-05-22 19:34 ` Andrew Morton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).