Skip to contentSkip to conversation

ipr: ipr_remove() marked __devexit

PATCH In review Kleber Sacilotto de Souza 3 participants 8 messages Mar 23, 2009 – May 20, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ipr: ipr_remove() marked __devexit

Marking the ipr clean up function ipr_remove() as __devexit and using __devexit_p() macro in its address reference.

---
 drivers/scsi/ipr.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/scsi/ipr.c +2 -2
index 0782900..bc39ac6 100644
@@ -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,
 };

--

Signature · 3 lines
Kleber Sacilotto de Souza
Software Engineer
IBM Linux Technology Center
#1 lore raw

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

Quoted 35 lines · Kleber Sacilotto de Souza

Marking the ipr clean up function ipr_remove() as __devexit and using __devexit_p() macro in its address reference.

---
 drivers/scsi/ipr.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/scsi/ipr.c +2 -3
index 0782900..bc39ac6 100644
@@ -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,
 };
--
Signature · 2 lines
Kleber S. Souza
IBM Linux Technology Center
maintainer
#2 lore raw
Quoted 6 lines · Kleber S. Souza

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:

Quoted 10 lines

Thanks,
Kleber

Quoted 6 lines · Kleber Sacilotto de Souza

Marking the ipr clean up function ipr_remove() as __devexit and using __devexit_p() macro in its address reference.

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

#3 lore raw
Quoted 18 lines · James Bottomley
Quoted 6 lines · Kleber S. Souza

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:

Quoted 8 lines

Thanks,
Kleber

Quoted 4 lines · Kleber Sacilotto de Souza

Marking the ipr clean up function ipr_remove() as __devexit and using __devexit_p() macro in its address reference.

Quoted 7 lines
Quoted 2 lines
Quoted 2 lines

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.

Quoted 7 lines

James

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 7 lines
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
maintainer
#4 lore raw
Quoted 22 lines · Kleber S. Souza
Quoted 21 lines · James Bottomley
Quoted 6 lines · Kleber S. Souza

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:

Quoted 10 lines

Thanks,
Kleber

Quoted 6 lines · Kleber Sacilotto de Souza

Marking the ipr clean up function ipr_remove() as __devexit and using __devexit_p() macro in its address reference.

Quoted 8 lines
Quoted 4 lines

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#5 lore raw
Quoted 25 lines · James Bottomley
Quoted 24 lines · Kleber S. Souza
Quoted 23 lines · James Bottomley
Quoted 6 lines · Kleber S. Souza

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:

Quoted 10 lines

Thanks,
Kleber

Quoted 6 lines · Kleber Sacilotto de Souza

Marking the ipr clean up function ipr_remove() as __devexit and using __devexit_p() macro in its address reference.

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.

Quoted 7 lines
Quoted 3 lines

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 <[email protected]>

Signature · 9 lines
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
author Acked-by Brian King
#6 lore raw
In reply to James Bottomley
Quoted 32 lines · James Bottomley
Quoted 22 lines · Kleber S. Souza
Quoted 21 lines · James Bottomley
Quoted 6 lines · Kleber S. Souza

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:

Quoted 10 lines

Thanks,
Kleber

Quoted 6 lines · Kleber Sacilotto de Souza

Marking the ipr clean up function ipr_remove() as __devexit and using __devexit_p() macro in its address reference.

Quoted 8 lines
Quoted 4 lines

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.

Quoted 6 lines

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.

---
 drivers/scsi/ipr.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/scsi/ipr.c +2 -2
index 0782900..bc39ac6 100644
@@ -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,
 };

--

Signature · 7 lines
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
maintainer
#7 lore raw

drivers/scsi/ipr.c static struct pci_driver ipr_driver = { · line 7856

Quoted 9 lines · Kleber S. Souza
drivers/scsi/ipr.c +1 -1
@@ -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