Re: [PATCH 1/5] arch/sparc64: Add missing pci_dev_put

2007-11-19 Thread David Miller
From: Julia Lawall <[EMAIL PROTECTED]> Date: Mon, 19 Nov 2007 09:02:22 +0100 (CET) > From: Julia Lawall <[EMAIL PROTECTED]> > > There should be a pci_dev_put when breaking out of a loop that iterates > over calls to pci_get_device and similar functions. .. > Signed-off-by: Julia Lawall <[EMAIL

[PATCH 1/5] arch/sparc64: Add missing pci_dev_put

2007-11-19 Thread Julia Lawall
From: Julia Lawall <[EMAIL PROTECTED]> There should be a pci_dev_put when breaking out of a loop that iterates over calls to pci_get_device and similar functions. This was fixed using the following semantic patch. // @@ type T; identifier d; expression e; @@ T *d; ... while ((d =

[PATCH 1/5] arch/sparc64: Add missing pci_dev_put

2007-11-19 Thread Julia Lawall
From: Julia Lawall [EMAIL PROTECTED] There should be a pci_dev_put when breaking out of a loop that iterates over calls to pci_get_device and similar functions. This was fixed using the following semantic patch. // smpl @@ type T; identifier d; expression e; @@ T *d; ... while ((d =

Re: [PATCH 1/5] arch/sparc64: Add missing pci_dev_put

2007-11-19 Thread David Miller
From: Julia Lawall [EMAIL PROTECTED] Date: Mon, 19 Nov 2007 09:02:22 +0100 (CET) From: Julia Lawall [EMAIL PROTECTED] There should be a pci_dev_put when breaking out of a loop that iterates over calls to pci_get_device and similar functions. .. Signed-off-by: Julia Lawall [EMAIL PROTECTED]