+ areca-raid-linux-scsi-driver-update6-for-2617-rc1-mm3-externs-go-in-headers.patch added to -mm tree

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

 



The patch titled

     areca-raid-linux-scsi-driver-update6-for-2617-rc1-mm3: externs go in headers

has been added to the -mm tree.  Its filename is

     areca-raid-linux-scsi-driver-update6-for-2617-rc1-mm3-externs-go-in-headers.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this


From: Andrew Morton <akpm@xxxxxxxx>

- extern decls should always be in headers, visible to all users and to the
  definition.

- make arcmsr_interrupt() static.

Cc: Erich Chen <erich@xxxxxxxxxxxx>
Cc: Christoph Hellwig <hch@xxxxxx>
Cc: Matthew Wilcox <willy@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/scsi/arcmsr/arcmsr.h      |    5 +++++
 drivers/scsi/arcmsr/arcmsr_attr.c |    1 -
 drivers/scsi/arcmsr/arcmsr_hba.c  |    7 ++-----
 3 files changed, 7 insertions(+), 6 deletions(-)

diff -puN drivers/scsi/arcmsr/arcmsr_attr.c~areca-raid-linux-scsi-driver-update6-for-2617-rc1-mm3-externs-go-in-headers drivers/scsi/arcmsr/arcmsr_attr.c
--- 25/drivers/scsi/arcmsr/arcmsr_attr.c~areca-raid-linux-scsi-driver-update6-for-2617-rc1-mm3-externs-go-in-headers	Thu Apr 27 15:05:05 2006
+++ 25-akpm/drivers/scsi/arcmsr/arcmsr_attr.c	Thu Apr 27 15:05:05 2006
@@ -57,7 +57,6 @@
 #include <scsi/scsi_transport.h>
 #include "arcmsr.h"
 
-extern void arcmsr_post_Qbuffer(struct AdapterControlBlock *acb);
 struct class_device_attribute *arcmsr_host_attrs[];
 void arcmsr_alloc_sysfs_attr(struct AdapterControlBlock *acb);
 
diff -puN drivers/scsi/arcmsr/arcmsr_hba.c~areca-raid-linux-scsi-driver-update6-for-2617-rc1-mm3-externs-go-in-headers drivers/scsi/arcmsr/arcmsr_hba.c
--- 25/drivers/scsi/arcmsr/arcmsr_hba.c~areca-raid-linux-scsi-driver-update6-for-2617-rc1-mm3-externs-go-in-headers	Thu Apr 27 15:05:05 2006
+++ 25-akpm/drivers/scsi/arcmsr/arcmsr_hba.c	Thu Apr 27 15:05:05 2006
@@ -75,9 +75,6 @@ MODULE_DESCRIPTION("ARECA (ARC11xx/12xx)
 MODULE_LICENSE("Dual BSD/GPL");
 MODULE_VERSION(ARCMSR_DRIVER_VERSION);
 
-extern struct class_device_attribute *arcmsr_host_attrs[];
-extern void arcmsr_alloc_sysfs_attr(struct AdapterControlBlock *acb);
-
 static int arcmsr_iop_message_xfer(struct AdapterControlBlock *acb, struct scsi_cmnd *cmd);
 static int arcmsr_abort(struct scsi_cmnd *);
 static int arcmsr_bus_reset(struct scsi_cmnd *);
@@ -95,7 +92,7 @@ static void arcmsr_stop_adapter_bgrb(str
 static void arcmsr_flush_adapter_cache(struct AdapterControlBlock *acb);
 static uint8_t arcmsr_wait_msgint_ready(struct AdapterControlBlock *acb);
 static const char *arcmsr_info(struct Scsi_Host *);
-irqreturn_t arcmsr_interrupt(struct AdapterControlBlock *acb);
+static irqreturn_t arcmsr_interrupt(struct AdapterControlBlock *acb);
 
 static int arcmsr_adjust_disk_queue_depth(struct scsi_device *sdev, int queue_depth)
 {
@@ -682,7 +679,7 @@ static void arcmsr_free_ccb_pool(struct 
 		acb->dma_coherent_handle);
 }
 
-irqreturn_t arcmsr_interrupt(struct AdapterControlBlock *acb)
+static irqreturn_t arcmsr_interrupt(struct AdapterControlBlock *acb)
 {
 	struct MessageUnit __iomem *reg = acb->pmu;
 	struct CommandControlBlock *ccb;
diff -puN drivers/scsi/arcmsr/arcmsr.h~areca-raid-linux-scsi-driver-update6-for-2617-rc1-mm3-externs-go-in-headers drivers/scsi/arcmsr/arcmsr.h
--- 25/drivers/scsi/arcmsr/arcmsr.h~areca-raid-linux-scsi-driver-update6-for-2617-rc1-mm3-externs-go-in-headers	Thu Apr 27 15:05:05 2006
+++ 25-akpm/drivers/scsi/arcmsr/arcmsr.h	Thu Apr 27 15:05:05 2006
@@ -44,6 +44,8 @@
 */
 #include <linux/interrupt.h>
 
+struct class_device_attribute;
+
 #define ARCMSR_MAX_OUTSTANDING_CMD 						256
 #define ARCMSR_MAX_FREECCB_NUM							288
 #define ARCMSR_DRIVER_VERSION				"Driver Version 1.20.00.13"
@@ -463,3 +465,6 @@ struct SENSE_DATA
 #define     ARCMSR_MU_OUTBOUND_MESSAGE0_INTMASKENABLE               0x01
 #define     ARCMSR_MU_OUTBOUND_ALL_INTMASKENABLE                    0x1F
 
+extern void arcmsr_post_Qbuffer(struct AdapterControlBlock *acb);
+extern struct class_device_attribute *arcmsr_host_attrs[];
+extern void arcmsr_alloc_sysfs_attr(struct AdapterControlBlock *acb);
_

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

config_net=n-build-fix.patch
request_irq-remove-warnings-from-irq-probing.patch
git-acpi.patch
acpi-update-asus_acpi-driver-registration-fix.patch
acpi-memory-hotplug-cannot-manage-_crs-with-plural-resoureces.patch
catch-notification-of-memory-add-event-of-acpi-via-container-driver-register-start-func-for-memory-device.patch
catch-notification-of-memory-add-event-of-acpi-via-container-driveravoid-redundant-call-add_memory.patch
remove-for_each_cpu.patch
sony_apci-resume.patch
powernow-k8-crash-workaround.patch
git-dvb.patch
sparc32-vivi-fix.patch
vivi-build-fix.patch
git-dvb-compat-build-fix.patch
git-dvb-Kconfig-fix.patch
git-dvb-Kconfig-fix-2.patch
connector-exports.patch
git-gfs2.patch
git-libata-all.patch
git-mtd.patch
git-netdev-all.patch
smc911x-Kconfig-fix.patch
pci-error-recovery-e1000-network-device-driver.patch
git-powerpc.patch
gregkh-pci-pci-64-bit-resources-drivers-others-changes-amba-fix.patch
git-scsi-misc.patch
git-scsi-rc-fixes.patch
areca-raid-linux-scsi-driver-update6-for-2617-rc1-mm3-externs-go-in-headers.patch
enable-advansys-driver.patch
advansys-warning-workaround.patch
git-watchdog.patch
pg_uncached-is-ia64-only.patch
migration-remove-unnecessary-pageswapcache-checks-fix.patch
wait_table-and-zonelist-initializing-for-memory-hotadd-wait_table-initialization-fixes.patch
pgdat-allocation-for-new-node-add-specify-node-id-powerpc-fix.patch
pgdat-allocation-for-new-node-add-specify-node-id-tidy.patch
pgdat-allocation-for-new-node-add-specify-node-id-fix-3.patch
pgdat-allocation-for-new-node-add-get-node-id-by-acpi-tidy.patch
pgdat-allocation-for-new-node-add-generic-alloc-node_data-tidy.patch
pgdat-allocation-for-new-node-add-refresh-node_data-fix.patch
pgdat-allocation-for-new-node-add-export-kswapd-start-func-tidy.patch
mm-introduce-remap_vmalloc_range-fix.patch
acx1xx-wireless-driver.patch
s390-dasd-device-identifiers-fix.patch
prune_one_dentry-tweaks.patch
mmput-might-sleep.patch
jbd-avoid-kfree-null.patch
ext3_clear_inode-avoid-kfree-null.patch
leds-amstrad-delta-led-support-tidy.patch
percpu-counter-data-type-changes-to-suppport-fix.patch
hangcheck-remove-monotomic_clock-on-x86.patch
pi-futex-futex-code-cleanups-fix.patch
reiser4.patch
savagefb-add-state-save-and_restore-hooks-tidy.patch
kgdb-core-lite-add-reboot-command.patch
kgdb-8250-fix.patch
nr_blockdev_pages-in_interrupt-warning.patch
device-suspend-debug.patch
revert-tty-buffering-comment-out-debug-code.patch
slab-leaks3-default-y.patch
x86-kmap_atomic-debugging.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