* [PATCH] ipr: ipr_remove() marked __devexit
@ 2009-03-23 20:12 Kleber Sacilotto de Souza
2009-04-17 19:08 ` Kleber S. Souza
0 siblings, 1 reply; 8+ messages in thread
From: Kleber Sacilotto de Souza @ 2009-03-23 20:12 UTC (permalink / raw)
To: linux-scsi@vger.kernel.org
Marking the ipr clean up function ipr_remove() as __devexit and using
__devexit_p() macro in its address reference.
Signed-off-by: Kleber Sacilotto de Souza <kleber@linux.vnet.ibm.com>
Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com>
Acked-by: Brian King <brking@linux.vnet.ibm.com>
---
drivers/scsi/ipr.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c
index 0782900..bc39ac6 100644
--- a/drivers/scsi/ipr.c
+++ b/drivers/scsi/ipr.c
@@ -7674,7 +7674,7 @@ static void __ipr_remove(struct pci_dev *pdev)
* Return value:
* none
**/
-static void ipr_remove(struct pci_dev *pdev)
+static void __devexit ipr_remove(struct pci_dev *pdev)
{
struct ipr_ioa_cfg *ioa_cfg = pci_get_drvdata(pdev);
@@ -7850,7 +7850,7 @@ static struct pci_driver ipr_driver = {
.name = IPR_NAME,
.id_table = ipr_pci_table,
.probe = ipr_probe,
- .remove = ipr_remove,
+ .remove = __devexit_p(ipr_remove),
.shutdown = ipr_shutdown,
.err_handler = &ipr_err_handler,
};
--
--
Kleber Sacilotto de Souza
Software Engineer
IBM Linux Technology Center
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH] ipr: ipr_remove() marked __devexit
2009-03-23 20:12 [PATCH] ipr: ipr_remove() marked __devexit Kleber Sacilotto de Souza
@ 2009-04-17 19:08 ` Kleber S. Souza
2009-04-18 2:05 ` James Bottomley
0 siblings, 1 reply; 8+ messages in thread
From: Kleber S. Souza @ 2009-04-17 19:08 UTC (permalink / raw)
To: linux-scsi@vger.kernel.org
Hi,
Any comments on this patch?
It was acked by Brian King, do I need to do anything else to get it
accepted?
Thanks,
Kleber
On Mon, 2009-03-23 at 17:12 -0300, Kleber Sacilotto de Souza wrote:
> Marking the ipr clean up function ipr_remove() as __devexit and using
> __devexit_p() macro in its address reference.
>
>
> Signed-off-by: Kleber Sacilotto de Souza <kleber@linux.vnet.ibm.com>
> Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com>
> Acked-by: Brian King <brking@linux.vnet.ibm.com>
> ---
> drivers/scsi/ipr.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c
> index 0782900..bc39ac6 100644
> --- a/drivers/scsi/ipr.c
> +++ b/drivers/scsi/ipr.c
> @@ -7674,7 +7674,7 @@ static void __ipr_remove(struct pci_dev *pdev)
> * Return value:
> * none
> **/
> -static void ipr_remove(struct pci_dev *pdev)
> +static void __devexit ipr_remove(struct pci_dev *pdev)
> {
> struct ipr_ioa_cfg *ioa_cfg = pci_get_drvdata(pdev);
>
> @@ -7850,7 +7850,7 @@ static struct pci_driver ipr_driver = {
> .name = IPR_NAME,
> .id_table = ipr_pci_table,
> .probe = ipr_probe,
> - .remove = ipr_remove,
> + .remove = __devexit_p(ipr_remove),
> .shutdown = ipr_shutdown,
> .err_handler = &ipr_err_handler,
> };
> --
>
--
Kleber S. Souza
IBM Linux Technology Center
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] ipr: ipr_remove() marked __devexit
2009-04-17 19:08 ` Kleber S. Souza
@ 2009-04-18 2:05 ` James Bottomley
2009-04-20 13:56 ` Kleber S. Souza
0 siblings, 1 reply; 8+ messages in thread
From: James Bottomley @ 2009-04-18 2:05 UTC (permalink / raw)
To: Kleber S. Souza; +Cc: linux-scsi@vger.kernel.org
On Fri, 2009-04-17 at 16:08 -0300, Kleber S. Souza wrote:
> Hi,
>
> Any comments on this patch?
>
> It was acked by Brian King, do I need to do anything else to get it
> accepted?
No ... looks OK to me:
> Thanks,
> Kleber
>
> On Mon, 2009-03-23 at 17:12 -0300, Kleber Sacilotto de Souza wrote:
> > Marking the ipr clean up function ipr_remove() as __devexit and using
> > __devexit_p() macro in its address reference.
> >
> >
> > Signed-off-by: Kleber Sacilotto de Souza <kleber@linux.vnet.ibm.com>
> > Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com>
Just explain this signoff? signed-off-by is supposed to document the
hands the patch has passed through ... it's not clear what Breno Leitao
has to do with the transmission of this patch.
James
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] ipr: ipr_remove() marked __devexit
2009-04-18 2:05 ` James Bottomley
@ 2009-04-20 13:56 ` Kleber S. Souza
2009-04-20 14:16 ` James Bottomley
0 siblings, 1 reply; 8+ messages in thread
From: Kleber S. Souza @ 2009-04-20 13:56 UTC (permalink / raw)
To: James Bottomley; +Cc: linux-scsi@vger.kernel.org
On Fri, 2009-04-17 at 22:05 -0400, James Bottomley wrote:
> On Fri, 2009-04-17 at 16:08 -0300, Kleber S. Souza wrote:
> > Hi,
> >
> > Any comments on this patch?
> >
> > It was acked by Brian King, do I need to do anything else to get it
> > accepted?
>
> No ... looks OK to me:
>
> > Thanks,
> > Kleber
> >
> > On Mon, 2009-03-23 at 17:12 -0300, Kleber Sacilotto de Souza wrote:
> > > Marking the ipr clean up function ipr_remove() as __devexit and using
> > > __devexit_p() macro in its address reference.
> > >
> > >
> > > Signed-off-by: Kleber Sacilotto de Souza <kleber@linux.vnet.ibm.com>
> > > Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com>
>
> Just explain this signoff? signed-off-by is supposed to document the
> hands the patch has passed through ... it's not clear what Breno Leitao
> has to do with the transmission of this patch.
>
Breno Leitão pointed out to me that this change needed to be made based
on the kernel documentation <Documentation/PCI/pci.txt>. I wrote the
patch, got the ack from Brian King and sent it to the list.
> James
>
>
> --
> 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
--
Kleber S. Souza
IBM Linux Technology Center
--
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] 8+ messages in thread
* Re: [PATCH] ipr: ipr_remove() marked __devexit
2009-04-20 13:56 ` Kleber S. Souza
@ 2009-04-20 14:16 ` James Bottomley
2009-04-20 14:23 ` Brian King
2009-04-22 13:50 ` Kleber S. Souza
0 siblings, 2 replies; 8+ messages in thread
From: James Bottomley @ 2009-04-20 14:16 UTC (permalink / raw)
To: Kleber S. Souza; +Cc: linux-scsi@vger.kernel.org
On Mon, 2009-04-20 at 10:56 -0300, Kleber S. Souza wrote:
> On Fri, 2009-04-17 at 22:05 -0400, James Bottomley wrote:
> > On Fri, 2009-04-17 at 16:08 -0300, Kleber S. Souza wrote:
> > > Hi,
> > >
> > > Any comments on this patch?
> > >
> > > It was acked by Brian King, do I need to do anything else to get it
> > > accepted?
> >
> > No ... looks OK to me:
> >
> > > Thanks,
> > > Kleber
> > >
> > > On Mon, 2009-03-23 at 17:12 -0300, Kleber Sacilotto de Souza wrote:
> > > > Marking the ipr clean up function ipr_remove() as __devexit and using
> > > > __devexit_p() macro in its address reference.
> > > >
> > > >
> > > > Signed-off-by: Kleber Sacilotto de Souza <kleber@linux.vnet.ibm.com>
> > > > Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com>
> >
> > Just explain this signoff? signed-off-by is supposed to document the
> > hands the patch has passed through ... it's not clear what Breno Leitao
> > has to do with the transmission of this patch.
> >
>
> Breno Leitão pointed out to me that this change needed to be made based
> on the kernel documentation <Documentation/PCI/pci.txt>. I wrote the
> patch, got the ack from Brian King and sent it to the list.
So that should be Reported-by: not Signed-off-by for Breno.
There's no actual ack from Brian King on this email.
James
--
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] 8+ messages in thread
* Re: [PATCH] ipr: ipr_remove() marked __devexit
2009-04-20 14:16 ` James Bottomley
@ 2009-04-20 14:23 ` Brian King
2009-04-22 13:50 ` Kleber S. Souza
1 sibling, 0 replies; 8+ messages in thread
From: Brian King @ 2009-04-20 14:23 UTC (permalink / raw)
To: James Bottomley; +Cc: Kleber S. Souza, linux-scsi@vger.kernel.org
James Bottomley wrote:
> On Mon, 2009-04-20 at 10:56 -0300, Kleber S. Souza wrote:
>> On Fri, 2009-04-17 at 22:05 -0400, James Bottomley wrote:
>>> On Fri, 2009-04-17 at 16:08 -0300, Kleber S. Souza wrote:
>>>> Hi,
>>>>
>>>> Any comments on this patch?
>>>>
>>>> It was acked by Brian King, do I need to do anything else to get it
>>>> accepted?
>>> No ... looks OK to me:
>>>
>>>> Thanks,
>>>> Kleber
>>>>
>>>> On Mon, 2009-03-23 at 17:12 -0300, Kleber Sacilotto de Souza wrote:
>>>>> Marking the ipr clean up function ipr_remove() as __devexit and using
>>>>> __devexit_p() macro in its address reference.
>>>>>
>>>>>
>>>>> Signed-off-by: Kleber Sacilotto de Souza <kleber@linux.vnet.ibm.com>
>>>>> Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com>
>>> Just explain this signoff? signed-off-by is supposed to document the
>>> hands the patch has passed through ... it's not clear what Breno Leitao
>>> has to do with the transmission of this patch.
>>>
>> Breno Leitão pointed out to me that this change needed to be made based
>> on the kernel documentation <Documentation/PCI/pci.txt>. I wrote the
>> patch, got the ack from Brian King and sent it to the list.
>
> So that should be Reported-by: not Signed-off-by for Breno.
>
> There's no actual ack from Brian King on this email.
Acked by: Brian King <brking@linux.vnet.ibm.com>
--
Brian King
Linux on Power Virtualization
IBM Linux Technology Center
--
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] 8+ messages in thread
* Re: [PATCH] ipr: ipr_remove() marked __devexit
2009-04-20 14:16 ` James Bottomley
2009-04-20 14:23 ` Brian King
@ 2009-04-22 13:50 ` Kleber S. Souza
2009-05-20 19:58 ` James Bottomley
1 sibling, 1 reply; 8+ messages in thread
From: Kleber S. Souza @ 2009-04-22 13:50 UTC (permalink / raw)
To: James Bottomley; +Cc: linux-scsi@vger.kernel.org
On Mon, 2009-04-20 at 14:16 +0000, James Bottomley wrote:
> On Mon, 2009-04-20 at 10:56 -0300, Kleber S. Souza wrote:
> > On Fri, 2009-04-17 at 22:05 -0400, James Bottomley wrote:
> > > On Fri, 2009-04-17 at 16:08 -0300, Kleber S. Souza wrote:
> > > > Hi,
> > > >
> > > > Any comments on this patch?
> > > >
> > > > It was acked by Brian King, do I need to do anything else to get it
> > > > accepted?
> > >
> > > No ... looks OK to me:
> > >
> > > > Thanks,
> > > > Kleber
> > > >
> > > > On Mon, 2009-03-23 at 17:12 -0300, Kleber Sacilotto de Souza wrote:
> > > > > Marking the ipr clean up function ipr_remove() as __devexit and using
> > > > > __devexit_p() macro in its address reference.
> > > > >
> > > > >
> > > > > Signed-off-by: Kleber Sacilotto de Souza <kleber@linux.vnet.ibm.com>
> > > > > Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com>
> > >
> > > Just explain this signoff? signed-off-by is supposed to document the
> > > hands the patch has passed through ... it's not clear what Breno Leitao
> > > has to do with the transmission of this patch.
> > >
> >
> > Breno Leitão pointed out to me that this change needed to be made based
> > on the kernel documentation <Documentation/PCI/pci.txt>. I wrote the
> > patch, got the ack from Brian King and sent it to the list.
>
> So that should be Reported-by: not Signed-off-by for Breno.
>
> There's no actual ack from Brian King on this email.
>
> James
>
Resending the patch with the proper tags. Sorry for the confusion.
Marking the ipr clean up function ipr_remove() as __devexit and using
__devexit_p() macro in its address reference.
Signed-off-by: Kleber Sacilotto de Souza <kleber@linux.vnet.ibm.com>
Reported-by: Breno Leitao <leitao@linux.vnet.ibm.com>
Acked-by: Brian King <brking@linux.vnet.ibm.com>
---
drivers/scsi/ipr.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c
index 0782900..bc39ac6 100644
--- a/drivers/scsi/ipr.c
+++ b/drivers/scsi/ipr.c
@@ -7674,7 +7674,7 @@ static void __ipr_remove(struct pci_dev *pdev)
* Return value:
* none
**/
-static void ipr_remove(struct pci_dev *pdev)
+static void __devexit ipr_remove(struct pci_dev *pdev)
{
struct ipr_ioa_cfg *ioa_cfg = pci_get_drvdata(pdev);
@@ -7850,7 +7850,7 @@ static struct pci_driver ipr_driver = {
.name = IPR_NAME,
.id_table = ipr_pci_table,
.probe = ipr_probe,
- .remove = ipr_remove,
+ .remove = __devexit_p(ipr_remove),
.shutdown = ipr_shutdown,
.err_handler = &ipr_err_handler,
};
--
--
Kleber S. Souza
IBM Linux Technology Center
--
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 related [flat|nested] 8+ messages in thread
* Re: [PATCH] ipr: ipr_remove() marked __devexit
2009-04-22 13:50 ` Kleber S. Souza
@ 2009-05-20 19:58 ` James Bottomley
0 siblings, 0 replies; 8+ messages in thread
From: James Bottomley @ 2009-05-20 19:58 UTC (permalink / raw)
To: Kleber S. Souza; +Cc: linux-scsi@vger.kernel.org
On Wed, 2009-04-22 at 10:50 -0300, Kleber S. Souza wrote:
> @@ -7850,7 +7850,7 @@ static struct pci_driver ipr_driver = {
> .name = IPR_NAME,
> .id_table = ipr_pci_table,
> .probe = ipr_probe,
> - .remove = ipr_remove,
> + .remove = __devexit_p(ipr_remove),
> .shutdown = ipr_shutdown,
> .err_handler = &ipr_err_handler,
> };
This entire hunk has spaces for tabs. Since it's only one line, I fixed
it up manually, but please fix your email tool for next time.
Thanks,
James
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-05-20 19:58 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-23 20:12 [PATCH] ipr: ipr_remove() marked __devexit Kleber Sacilotto de Souza
2009-04-17 19:08 ` Kleber S. Souza
2009-04-18 2:05 ` James Bottomley
2009-04-20 13:56 ` Kleber S. Souza
2009-04-20 14:16 ` James Bottomley
2009-04-20 14:23 ` Brian King
2009-04-22 13:50 ` Kleber S. Souza
2009-05-20 19:58 ` James Bottomley
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).