+ drivers-scsi-hpsac-fix-section-mismatch.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     drivers/scsi/hpsa.c: fix section mismatch
has been added to the -mm tree.  Its filename is
     drivers-scsi-hpsac-fix-section-mismatch.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: drivers/scsi/hpsa.c: fix section mismatch
From: Jeff Mahoney <jeffm@xxxxxxxx>

hpsa_pci_init() calls hpsa_interrupt_mode() which is a __devinit function.
 hpsa_pci_init() is only called by hpsa_init_one() which is also
__devinit, so mark it __devinit as well.

Signed-off-by: Jeff Mahoney <jeffm@xxxxxxxx>
Cc: "Stephen M.Cameron" <scameron@xxxxxxxxxxxxxxxxxx>
Cc: James Bottomley <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/scsi/hpsa.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/scsi/hpsa.c~drivers-scsi-hpsac-fix-section-mismatch drivers/scsi/hpsa.c
--- a/drivers/scsi/hpsa.c~drivers-scsi-hpsac-fix-section-mismatch
+++ a/drivers/scsi/hpsa.c
@@ -3111,7 +3111,7 @@ default_int_mode:
 	return;
 }
 
-static int hpsa_pci_init(struct ctlr_info *h, struct pci_dev *pdev)
+static int __devinit hpsa_pci_init(struct ctlr_info *h, struct pci_dev *pdev)
 {
 	ushort subsystem_vendor_id, subsystem_device_id, command;
 	__u32 board_id, scratchpad = 0;
_

Patches currently in -mm which might be from jeffm@xxxxxxxx are

virtio-fix-section-mismatch-warnings.patch
acpi-fix-section-mismatch.patch
drivers-scsi-hpsac-fix-section-mismatch.patch
hugetlb-fix-section-mismatches-2.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux