[patch 2/5] drivers/scsi/dc395x.c: convert to module_pci_driver

2013-09-13 Thread akpm
From: Libo Chen Subject: drivers/scsi/dc395x.c: convert to module_pci_driver Signed-off-by: Libo Chen Cc: James Bottomley Signed-off-by: Andrew Morton --- drivers/scsi/dc395x.c | 24 +--- 1 file changed, 1 insertion(+), 23 deletions(-) diff -puN drivers/scsi/dc395x.c~

[patch 4/5] drivers/scsi/initio.c: convert to module_pci_driver

2013-09-13 Thread akpm
From: Libo Chen Subject: drivers/scsi/initio.c: convert to module_pci_driver Signed-off-by: Libo Chen Cc: James Bottomley Signed-off-by: Andrew Morton --- drivers/scsi/initio.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff -puN drivers/scsi/initio.c~drivers-scs

[patch 3/5] drivers/scsi/dmx3191d.c: convert to module_pci_driver

2013-09-13 Thread akpm
From: Libo Chen Subject: drivers/scsi/dmx3191d.c: convert to module_pci_driver Signed-off-by: Libo Chen Cc: James Bottomley Signed-off-by: Andrew Morton --- drivers/scsi/dmx3191d.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff -puN drivers/scsi/dmx3191d.c~drive

[patch 1/5] drivers/scsi/a100u2w.c: convert to module_pci_driver

2013-09-13 Thread akpm
From: Libo Chen Subject: drivers/scsi/a100u2w.c: convert to module_pci_driver Use module_pci_driver instead of init/exit, make code clean. Signed-off-by: Libo Chen Cc: James Bottomley Signed-off-by: Andrew Morton --- drivers/scsi/a100u2w.c | 12 +--- 1 file changed, 1 insertion(+)

[patch 5/5] drivers/scsi/mvumi.c: convert to module_pci_driver

2013-09-13 Thread akpm
From: Libo Chen Subject: drivers/scsi/mvumi.c: convert to module_pci_driver Signed-off-by: Libo Chen Cc: James Bottomley Signed-off-by: Andrew Morton --- drivers/scsi/mvumi.c | 20 +--- 1 file changed, 1 insertion(+), 19 deletions(-) diff -puN drivers/scsi/mvumi.c~drivers-

[patch 2/2] drivers/scsi/hptiop: support HighPoint RR4520/RR4522 HBA

2012-11-08 Thread akpm
From: HighPoint Linux Team Subject: drivers/scsi/hptiop: support HighPoint RR4520/RR4522 HBA Support IOP RR4520/RR4522 which are based on Marvell frey. Signed-off-by: HighPoint Linux Team Signed-off-by: Andrew Morton --- Documentation/scsi/hptiop.txt | 69 + drivers/scsi/hptiop.c

[patch 1/2] drivers/message/fusion/mptscsih.c: missing break

2012-11-08 Thread akpm
From: Alan Cox Subject: drivers/message/fusion/mptscsih.c: missing break This happens to do the right thing in all cases on fibre channel but not on other media types Signed-off-by: Alan Cox Cc: James Bottomley Cc: Nagalakshmi Nandigama Cc: Kashyap Desai Signed-off-by: Andrew Morton --- d

[patch 12/13] scsi: arcmsr updates (1.20.00.15)

2008-02-04 Thread akpm
From: Nick Cheng <[EMAIL PROTECTED]> - add arcmsr_enable_eoi_mode()and readl(reg->iop2drv_doorbell_reg) in arcmsr_handle_hbb_isr() on adapter Type B in case of the doorbell interrupt clearance is cached - add conditional declaration for arcmsr_pci_error_detected() and arcmsr_pci_slot_reset

[patch 10/13] scsi/aic94xx/: cleanups

2008-02-04 Thread akpm
From: Adrian Bunk <[EMAIL PROTECTED]> - static functions in .c files shouldn't be marked inline - make needlessly global code static - remove the unused aic94xx_seq.c:asd_unpause_lseq() - #if 0 other unused code [EMAIL PROTECTED]: coding-style fixes] Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>

[patch 09/13] 3W RAID drivers: memset not needed in probe

2008-02-04 Thread akpm
From: Denis Cheng <[EMAIL PROTECTED]> The memory return from scsi_host_alloc is alloced by kzalloc, which is already zero initilized, so memset not needed. Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> Cc: Adam Radford <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> --- dr

[patch 06/13] scsi/advansys.c: make 3 functions static

2008-02-04 Thread akpm
From: Adrian Bunk <[EMAIL PROTECTED]> Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> --- drivers/scsi/advansys.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -puN drivers/scsi/advansys.c~scsi-advansysc-make-3-functions-stat

[patch 11/13] Small cleanups for scsi_host.h

2008-02-04 Thread akpm
From: Pavel Machek <[EMAIL PROTECTED]> Small cleanups in scsi_host.h. Few #defines make me wonder if their description is still up to date..? Signed-off-by: Pavel Machek <[EMAIL PROTECTED]> Cc: James Bottomley <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> --- include/scsi

[patch 08/13] sg: nopage

2008-02-04 Thread akpm
From: Nick Piggin <[EMAIL PROTECTED]> Convert SG from nopage to fault. Signed-off-by: Nick Piggin <[EMAIL PROTECTED]> Cc: Douglas Gilbert <[EMAIL PROTECTED]> Cc: James Bottomley <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> --- drivers/scsi/sg.c | 23 +++

[patch 13/13] drivers/scsi/dc395x.c: fix uninitialized var warning

2008-02-04 Thread akpm
From: Andrew Morton <[EMAIL PROTECTED]> drivers/scsi/dc395x.c: In function 'dc395x_init_one': drivers/scsi/dc395x.c:4270: warning: 'ptr' may be used uninitialized in this function Cc: James Bottomley <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> --- drivers/scsi/dc395x.c

[patch 05/13] MegaRAID driver management char device moved to misc

2008-02-04 Thread akpm
From: Thomas Horsten <[EMAIL PROTECTED]> The MegaRAID driver's common management module (megaraid_mm.c) creates a char device used by the management tool "megarc" from LSI Logic (and possibly other management tools). In 2.6 with udev, this device doesn't get created because it is not registered i

[patch 07/13] Dell CERC support for megaraid_mbox

2008-02-04 Thread akpm
From: Hannes Reinecke <[EMAIL PROTECTED]> Newer Dell CERC firmware (>= 6.62) implement a random deletion handling compatible with the legacy megaraid driver. The legacy handling shifted the target ID by 0x80 only for I/O commands (READ/WRITE/etc), whereas megaraid_mbox shifts the target ID always

[patch 03/13] mptbase: reset ioc initiator during PCI resume

2008-02-04 Thread akpm
From: "Darrick J. Wong" <[EMAIL PROTECTED]> It appears that the LSI SAS 1064E chip needs to be reset after a suspend/resume cycle before the driver attempts further communications with the chip. Without this patch, resuming the chip results in this error message being printed repeatedly and no mo

[patch 04/13] kill warnings in mptbase.h on parisc64

2008-02-04 Thread akpm
From: Kyle McMartin <[EMAIL PROTECTED]> Verified all the arches necessary select the CONFIG_64BIT symbol. This also kills the warning (since it was using the 32-bit case) on parisc64 and mips64. Signed-off-by: Kyle McMartin <[EMAIL PROTECTED]> Cc: "Moore, Eric Dean" <[EMAIL PROTECTED]> Cc: James

[patch 02/13] git-scsi-misc gdth fix

2008-02-04 Thread akpm
I > > sent copy to lkml. > > config of kernel in attachment, > > I apply all three patches from hot-fixes. > > > > The screenshot is here: http://userweb.kernel.org/~akpm/crash.png > > It would appear that gdth_timeout() is passing a bad pointer into >

[patch 01/13] git-scsi-misc: fix isa/pcmcia compile problem

2008-02-04 Thread akpm
From: Tejun Heo <[EMAIL PROTECTED]> aha152x.c and fdomain are built twice - once for the isa driver and once for the PCMCIA one. Through #ifdefs, the compiled codes are slightly different; thus, global symbols need to be given different names depending on which flavor is being built. This patch

[patch 16/30] aacraid driver fails with Dell PowerEdge Expandable RAID Controller 3/Di

2007-12-13 Thread akpm
From: "Salyzyn, Mark" <[EMAIL PROTECTED]> As reported in http://bugzilla.kernel.org/show_bug.cgi?id=3D9133 it was discovered that the PERC line of controllers lacked a key 64 bit ScatterGather capable SCSI pass-through function. The adapters are still capable of 64 bit ScatterGather I/O commands,

[patch 28/30] scsi: arm: convert to accessors and !use_sg cleanup

2007-12-13 Thread akpm
From: Boaz Harrosh <[EMAIL PROTECTED]> - convert to accessors and !use_sg cleanup Signed-off-by: Boaz Harrosh <[EMAIL PROTECTED]> Cc: Russell King <[EMAIL PROTECTED]> Signed-off-by: James Bottomley <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> --- drivers/scsi/arm/acorns

[patch 26/30] tgt: use scsi_init_io instead of scsi_alloc_sgtable

2007-12-13 Thread akpm
From: Boaz Harrosh <[EMAIL PROTECTED]> - If we export scsi_init_io()/scsi_release_buffers() instead of scsi_{alloc,free}_sgtable() from scsi_lib than tgt code is much more insulated from scsi_lib changes. As a bonus it will also gain bidi capability when it comes. Signed-off-by: Boa

[patch 30/30] libsas: convert ATA bridge to use new EH

2007-12-13 Thread akpm
From: "Darrick J. Wong" <[EMAIL PROTECTED]> Migrate the sas_ata bridge to use the new libata EH strategy, and finally implement correct software reset. WARNING WARNING WARNING! This patch is for experimental use only; it is nowhere near complete! Especially the sas_ata_freeze() function. This

[patch 18/30] scsi/qla2xxx/: possible cleanups

2007-12-13 Thread akpm
From: Adrian Bunk <[EMAIL PROTECTED]> - make the following needlessly global code static: - qla_attr.c: qla24xx_vport_delete() - qla_attr.c: qla24xx_vport_disable() - qla_mid.c: qla24xx_allocate_vp_id() - qla_mid.c: qla24xx_find_vhost_by_name() - qla_mid.c: qla2x00_do_dpc_vp() - qla_os

[patch 27/30] scsi: scsi_data_buffer

2007-12-13 Thread akpm
From: Boaz Harrosh <[EMAIL PROTECTED]> In preparation for bidi we abstract all IO members of scsi_cmnd, that will need to duplicate, into a substructure. - Group all IO members of scsi_cmnd into a scsi_data_buffer structure. - Adjust accessors to new members. - scsi_{alloc,free}_sgt

[patch 19/30] Dell CERC support for megaraid_mbox

2007-12-13 Thread akpm
From: Hannes Reinecke <[EMAIL PROTECTED]> Newer Dell CERC firmware (>= 6.62) implement a random deletion handling compatible with the legacy megaraid driver. The legacy handling shifted the target ID by 0x80 only for I/O commands (READ/WRITE/etc), whereas megaraid_mbox shifts the target ID always

[patch 24/30] hptiop: add more adapter models and other fixes

2007-12-13 Thread akpm
From: HighPoint Linux Team <[EMAIL PROTECTED]> Most code changes were made to support adapters based on Marvell IOP, plus some other fixes. - add more PCI device IDs - support for adapters based on Marvell IOP - fix a result code translation error on big-endian systems - fix resource releasing bu

[patch 22/30] sg: nopage

2007-12-13 Thread akpm
From: Nick Piggin <[EMAIL PROTECTED]> Convert SG from nopage to fault. Signed-off-by: Nick Piggin <[EMAIL PROTECTED]> Cc: Douglas Gilbert <[EMAIL PROTECTED]> Cc: James Bottomley <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> --- drivers/scsi/sg.c | 23 +++

[patch 23/30] 3W RAID drivers: memset not needed in probe

2007-12-13 Thread akpm
From: Denis Cheng <[EMAIL PROTECTED]> The memory return from scsi_host_alloc is alloced by kzalloc, which is already zero initilized, so memset not needed. Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> Cc: Adam Radford <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> --- dr

[patch 29/30] scsi: bidi support

2007-12-13 Thread akpm
From: Boaz Harrosh <[EMAIL PROTECTED]> At the block level bidi request uses req->next_rq pointer for a second bidi_read request. At Scsi-midlayer a second scsi_data_buffer structure is used for the bidi_read part. This bidi scsi_data_buffer is put on request->next_rq->special. Struct scs

[patch 21/30] scsi/qla2xxx/qla_os.c section fix

2007-12-13 Thread akpm
From: Adrian Bunk <[EMAIL PROTECTED]> WARNING: vmlinux.o(.text+0x2a4462): Section mismatch: reference to .exit.text:qla2x00_remove_one (between 'qla2xxx_pci_error_detected' and 'qla2x00_stop_timer') qla2x00_remove_one() mustn't be __devexit since it's called from qla2xxx_pci_error_detected().

[patch 25/30] drivers/scsi/ipr.c: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-13 Thread akpm
From: Denis Cheng <[EMAIL PROTECTED]> Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> Acked-by: Brian King <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> --- drivers/scsi/ipr.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/scsi/ipr.c~drivers-sc

[patch 17/30] scsi/advansys.c: make 3 functions static

2007-12-13 Thread akpm
From: Adrian Bunk <[EMAIL PROTECTED]> Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> --- drivers/scsi/advansys.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -puN drivers/scsi/advansys.c~scsi-advansysc-make-3-functions-stat

[patch 20/30] drivers/scsi/sgiwd93.c: export sgiwd93_reset()

2007-12-13 Thread akpm
From: Andrew Morton <[EMAIL PROTECTED]> mips allmodconfig: ERROR: "sgiwd93_reset" [drivers/scsi/wd33c93.ko] undefined! Cc: Ralf Baechle <[EMAIL PROTECTED]> Cc: James Bottomley <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> --- drivers/scsi/sgiwd93.c |1 + 1 file chang

[patch 08/30] ips: handle scsi_add_host() failure, and other err cleanups

2007-12-13 Thread akpm
From: Jeff Garzik <[EMAIL PROTECTED]> Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]> Cc: James Bottomley <[EMAIL PROTECTED]> Acked-by: "Salyzyn, Mark" <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> --- drivers/scsi/ips.c | 18 +- 1 file changed, 13 inserti

[patch 05/30] ips: remove ips_ha members that duplicate struct pci_dev members

2007-12-13 Thread akpm
From: Jeff Garzik <[EMAIL PROTECTED]> Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]> Cc: James Bottomley <[EMAIL PROTECTED]> Acked-by: "Salyzyn, Mark" <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> --- drivers/scsi/ips.c | 178 --- d

[patch 06/30] ips: trim trailing whitespace

2007-12-13 Thread akpm
From: Jeff Garzik <[EMAIL PROTECTED]> [EMAIL PROTECTED]: coding style fixes] Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]> Cc: James Bottomley <[EMAIL PROTECTED]> Acked-by: "Salyzyn, Mark" <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> --- drivers/scsi/ips.c | 49 +++

[patch 10/30] SCSI/gdth: kill unneeded 'irq' argument

2007-12-13 Thread akpm
From: Jeff Garzik <[EMAIL PROTECTED]> Neither gdth_get_status() nor __gdth_interrupt() need their 'irq' argument, so remove it. [EMAIL PROTECTED]: coding style fixes] Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]> Acked-by: Boaz Harrosh <[EMAIL PROTECTED]> Cc: James Bottomley <[EMAIL PROTECTED]>

[patch 11/30] SCSI/sym53c416: kill pointless irq handler loop and test

2007-12-13 Thread akpm
From: Jeff Garzik <[EMAIL PROTECTED]> - kill pointless irq handler loop to find base address, it is already passed to irq handler via Scsi_Host. - kill now-pointless !base test. Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]> Cc: James Bottomley <[EMAIL PROTECTED]> Cc: Matthew Wilcox <[EMAIL PR

[patch 15/30] sym2: fix section mismatch warning

2007-12-13 Thread akpm
From: Randy Dunlap <[EMAIL PROTECTED]> Fix section mismatch warning: WARNING: vmlinux.o(.text+0x1ff3a2): Section mismatch: reference to .exit.text:sym2_remove (between 'sym2_io_error_detected' and 'sym_xpt_done') Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]> Cc: James Bottomley <[EMAIL PROTEC

[patch 12/30] SCSI/NCR5380: minor irq handler cleanups

2007-12-13 Thread akpm
From: Jeff Garzik <[EMAIL PROTECTED]> * remove unnecessary cast * remove unnecessary use of 'irq' function arg Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]> Cc: James Bottomley <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> --- drivers/scsi/NCR5380.c |7 --- 1 fi

[patch 13/30] advansys: fix section mismatch warning

2007-12-13 Thread akpm
From: Randy Dunlap <[EMAIL PROTECTED]> Fix section mismatch warning: WARNING: vmlinux.o(.exit.text+0x152a): Section mismatch: reference to .init.data:_asc_def_iop_base (between 'advansys_isa_remove' and 'advansys_exit') Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]> Cc: Matthew Wilcox <[EMAIL

[patch 07/30] ips: PCI API cleanups

2007-12-13 Thread akpm
From: Jeff Garzik <[EMAIL PROTECTED]> * pass Scsi_Host to ips_remove_device() via pci_set_drvdata(), allowing us to eliminate the ips_ha[] search loop and call ips_release() directly. * call pci_{request,release}_regions() and eliminate individual request/release_[mem_]region() calls * cal

[patch 09/30] MegaRAID driver management char device moved to misc

2007-12-13 Thread akpm
From: Thomas Horsten <[EMAIL PROTECTED]> The MegaRAID driver's common management module (megaraid_mm.c) creates a char device used by the management tool "megarc" from LSI Logic (and possibly other management tools). In 2.6 with udev, this device doesn't get created because it is not registered i

[patch 02/30] mptbase: reset ioc initiator during PCI resume

2007-12-13 Thread akpm
From: "Darrick J. Wong" <[EMAIL PROTECTED]> It appears that the LSI SAS 1064E chip needs to be reset after a suspend/resume cycle before the driver attempts further communications with the chip. Without this patch, resuming the chip results in this error message being printed repeatedly and no mo

[patch 03/30] initio: fix conflict when loading driver

2007-12-13 Thread akpm
From: Alan Cox <[EMAIL PROTECTED]> > I have a scanner connected to a Initio INI-950 SCSI card and I recently > upgraded from SuSE 10.2 to 10.3. The new kernel doesn't see any of my > devices. I get the following in /var/log/messages: > > ACPI: PCI Interrupt :00:0a.0[A] -> GSI 17 (level, low)

[patch 14/30] aic94: fix section mismatches

2007-12-13 Thread akpm
From: Randy Dunlap <[EMAIL PROTECTED]> Fix section mismatch warning: WARNING: vmlinux.o(.init.text+0x23be6): Section mismatch: reference to .exit.text:asd_unmap_ha (between 'asd_pci_probe' and 'qla4xxx_module_init') + WARNING: vmlinux.o(.text+0x1ec8a8): Section mismatch: reference to .exit.text:

[patch 01/30] git-scsi-misc gdth fix

2007-12-13 Thread akpm
I > > sent copy to lkml. > > config of kernel in attachment, > > I apply all three patches from hot-fixes. > > > > The screenshot is here: http://userweb.kernel.org/~akpm/crash.png > > It would appear that gdth_timeout() is passing a bad pointer into >

[patch 04/30] kill warnings in mptbase.h on parisc64

2007-12-13 Thread akpm
From: Kyle McMartin <[EMAIL PROTECTED]> Verified all the arches necessary select the CONFIG_64BIT symbol. This also kills the warning (since it was using the 32-bit case) on parisc64 and mips64. Signed-off-by: Kyle McMartin <[EMAIL PROTECTED]> Cc: "Moore, Eric Dean" <[EMAIL PROTECTED]> Cc: James

[patch 17/23] advansys: fix section mismatch warning

2007-11-21 Thread akpm
From: Randy Dunlap <[EMAIL PROTECTED]> Fix section mismatch warning: WARNING: vmlinux.o(.exit.text+0x152a): Section mismatch: reference to .init.data:_asc_def_iop_base (between 'advansys_isa_remove' and 'advansys_exit') Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]> Cc: Matthew Wilcox <[EMAIL

[patch 04/23] mptbase: reset ioc initiator during PCI resume

2007-11-21 Thread akpm
From: "Darrick J. Wong" <[EMAIL PROTECTED]> It appears that the LSI SAS 1064E chip needs to be reset after a suspend/resume cycle before the driver attempts further communications with the chip. Without this patch, resuming the chip results in this error message being printed repeatedly and no mo

[patch 20/23] aacraid driver fails with Dell PowerEdge Expandable RAID Controller 3/Di

2007-11-21 Thread akpm
From: "Salyzyn, Mark" <[EMAIL PROTECTED]> As reported in http://bugzilla.kernel.org/show_bug.cgi?id=3D9133 it was discovered that the PERC line of controllers lacked a key 64 bit ScatterGather capable SCSI pass-through function. The adapters are still capable of 64 bit ScatterGather I/O commands,

[patch 19/23] sym2: fix section mismatch warning

2007-11-21 Thread akpm
From: Randy Dunlap <[EMAIL PROTECTED]> Fix section mismatch warning: WARNING: vmlinux.o(.text+0x1ff3a2): Section mismatch: reference to .exit.text:sym2_remove (between 'sym2_io_error_detected' and 'sym_xpt_done') Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]> Cc: James Bottomley <[EMAIL PROTEC

[patch 13/23] SCSI/gdth: kill unneeded 'irq' argument

2007-11-21 Thread akpm
From: Jeff Garzik <[EMAIL PROTECTED]> Neither gdth_get_status() nor __gdth_interrupt() need their 'irq' argument, so remove it. [EMAIL PROTECTED]: coding style fixes] Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]> Acked-by: Boaz Harrosh <[EMAIL PROTECTED]> Cc: James Bottomley <[EMAIL PROTECTED]>

[patch 11/23] ips: handle scsi_add_host() failure, and other err cleanups

2007-11-21 Thread akpm
From: Jeff Garzik <[EMAIL PROTECTED]> Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]> Cc: James Bottomley <[EMAIL PROTECTED]> Acked-by: "Salyzyn, Mark" <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> --- drivers/scsi/ips.c | 18 +- 1 file changed, 13 inserti

[patch 14/23] SCSI/sym53c416: kill pointless irq handler loop and test

2007-11-21 Thread akpm
From: Jeff Garzik <[EMAIL PROTECTED]> - kill pointless irq handler loop to find base address, it is already passed to irq handler via Scsi_Host. - kill now-pointless !base test. Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]> Cc: James Bottomley <[EMAIL PROTECTED]> Cc: Matthew Wilcox <[EMAIL PR

[patch 16/23] SCSI/NCR5380: minor irq handler cleanups

2007-11-21 Thread akpm
From: Jeff Garzik <[EMAIL PROTECTED]> * remove unnecessary cast * remove unnecessary use of 'irq' function arg Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]> Cc: James Bottomley <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> --- drivers/scsi/NCR5380.c |7 --- 1 fi

[patch 15/23] SCSI: fix bugs and canonicalize NCR5380_intr drivers

2007-11-21 Thread akpm
From: Jeff Garzik <[EMAIL PROTECTED]> * Bug fix: Make sure request_irq() and free_irq() are called with the same dev_id pointer argument. * Bug fix: always pass 'irq' and 'dev_id' (aka 'dummy') arguments to NCE5380_intr() when calling it manully. For some drivers this doesn't matter, dep

[patch 22/23] scsi/qla2xxx/: possible cleanups

2007-11-21 Thread akpm
From: Adrian Bunk <[EMAIL PROTECTED]> - make the following needlessly global code static: - qla_attr.c: qla24xx_vport_delete() - qla_attr.c: qla24xx_vport_disable() - qla_mid.c: qla24xx_allocate_vp_id() - qla_mid.c: qla24xx_find_vhost_by_name() - qla_mid.c: qla2x00_do_dpc_vp() - qla_os

[patch 12/23] MegaRAID driver management char device moved to misc

2007-11-21 Thread akpm
From: Thomas Horsten <[EMAIL PROTECTED]> The MegaRAID driver's common management module (megaraid_mm.c) creates a char device used by the management tool "megarc" from LSI Logic (and possibly other management tools). In 2.6 with udev, this device doesn't get created because it is not registered i

[patch 18/23] aic94: fix section mismatches

2007-11-21 Thread akpm
From: Randy Dunlap <[EMAIL PROTECTED]> Fix section mismatch warning: WARNING: vmlinux.o(.init.text+0x23be6): Section mismatch: reference to .exit.text:asd_unmap_ha (between 'asd_pci_probe' and 'qla4xxx_module_init') + WARNING: vmlinux.o(.text+0x1ec8a8): Section mismatch: reference to .exit.text:

[patch 21/23] scsi/advansys.c: make 3 functions static

2007-11-21 Thread akpm
From: Adrian Bunk <[EMAIL PROTECTED]> Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> --- drivers/scsi/advansys.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -puN drivers/scsi/advansys.c~scsi-advansysc-make-3-functions-stat

[patch 23/23] Dell CERC support for megaraid_mbox

2007-11-21 Thread akpm
From: Hannes Reinecke <[EMAIL PROTECTED]> Newer Dell CERC firmware (>= 6.62) implement a random deletion handling compatible with the legacy megaraid driver. The legacy handling shifted the target ID by 0x80 only for I/O commands (READ/WRITE/etc), whereas megaraid_mbox shifts the target ID always

[patch 07/23] hptiop: fix type mismatch warning

2007-11-21 Thread akpm
From: Jeff Garzik <[EMAIL PROTECTED]> drivers/scsi/hptiop.c: In function 'hptiop_host_request_callback': drivers/scsi/hptiop.c:378: warning: comparison of distinct pointer types lacks a cast drivers/scsi/hptiop.c:378: warning: comparison of distinct pointer types lacks a cast Use min_t(size_t,

[patch 05/23] initio: fix conflict when loading driver

2007-11-21 Thread akpm
From: Alan Cox <[EMAIL PROTECTED]> > I have a scanner connected to a Initio INI-950 SCSI card and I recently > upgraded from SuSE 10.2 to 10.3. The new kernel doesn't see any of my > devices. I get the following in /var/log/messages: > > ACPI: PCI Interrupt :00:0a.0[A] -> GSI 17 (level, low)

[patch 08/23] ips: remove ips_ha members that duplicate struct pci_dev members

2007-11-21 Thread akpm
From: Jeff Garzik <[EMAIL PROTECTED]> Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]> Cc: James Bottomley <[EMAIL PROTECTED]> Acked-by: "Salyzyn, Mark" <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> --- drivers/scsi/ips.c | 178 --- d

[patch 09/23] ips: trim trailing whitespace

2007-11-21 Thread akpm
From: Jeff Garzik <[EMAIL PROTECTED]> [EMAIL PROTECTED]: coding style fixes] Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]> Cc: James Bottomley <[EMAIL PROTECTED]> Acked-by: "Salyzyn, Mark" <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> --- drivers/scsi/ips.c | 49 +++

[patch 10/23] ips: PCI API cleanups

2007-11-21 Thread akpm
From: Jeff Garzik <[EMAIL PROTECTED]> * pass Scsi_Host to ips_remove_device() via pci_set_drvdata(), allowing us to eliminate the ips_ha[] search loop and call ips_release() directly. * call pci_{request,release}_regions() and eliminate individual request/release_[mem_]region() calls * cal

[patch 03/23] SCSI: early detection of medium not present, updated

2007-11-21 Thread akpm
From: Alan Stern <[EMAIL PROTECTED]> Taken from http://bugzilla.kernel.org/show_bug.cgi?id=8904 An updated (by Albert, I assume) version of the fourteen-month-old patch here: http://marc.info/?l=linux-kernel&m=115412002912837&w=2 Apparently fixes the bug described at http://bugzilla.kernel.org/

[patch 02/23] nsp32_restart_autoscsi(): remove error check

2007-11-21 Thread akpm
From: Adrian Bunk <[EMAIL PROTECTED]> The Coverity checker noted that we'll anyway Oops later when we ran into this condition - and the error check didn't prevent that. Considering that the error condition shouldn't be possible, and we are not able to handle it easily, this patch simply removes t

[patch 06/23] kill warnings in mptbase.h on parisc64

2007-11-21 Thread akpm
From: Kyle McMartin <[EMAIL PROTECTED]> Verified all the arches necessary select the CONFIG_64BIT symbol. This also kills the warning (since it was using the 32-bit case) on parisc64 and mips64. Signed-off-by: Kyle McMartin <[EMAIL PROTECTED]> Cc: "Moore, Eric Dean" <[EMAIL PROTECTED]> Cc: James

[patch 01/23] git-scsi-misc gdth fix

2007-11-21 Thread akpm
I > > sent copy to lkml. > > config of kernel in attachment, > > I apply all three patches from hot-fixes. > > > > The screenshot is here: http://userweb.kernel.org/~akpm/crash.png > > It would appear that gdth_timeout() is passing a bad pointer into >

[patch 5/7] PCI Error Recovery: Symbios SCSI First Failure

2007-10-16 Thread akpm
From: Linas Vepstas <[EMAIL PROTECTED]> Implement the so-called "first failure data capture" (FFDC) for the symbios PCI error recovery. After a PCI error event is reported, the driver requests that MMIO be enabled. Once enabled, it then reads and dumps assorted status registers, and concludes by

[patch 4/7] PCI Error Recovery: Symbios SCSI base support

2007-10-16 Thread akpm
From: Linas Vepstas <[EMAIL PROTECTED]> Various PCI bus errors can be signaled by newer PCI controllers. This patch adds the PCI error recovery callbacks to the Symbios SCSI device driver. The patch has been tested, and appears to work well. Signed-off-by: Linas Vepstas <[EMAIL PROTECTED]> Cc:

[patch 7/7] hptiop: avoid buffer overflow when returning sense data

2007-10-16 Thread akpm
From: HighPoint Linux Team <[EMAIL PROTECTED]> avoid buffer overflow when returning sense data. With current adapter firmware the driver is working but future firmware updates may return sense data larger than 96 bytes, causing overflow on scp->sense_buffer and a kernel crash. This fix should be

[patch 6/7] initio: fix conflict when loading driver

2007-10-16 Thread akpm
From: Alan Cox <[EMAIL PROTECTED]> > I have a scanner connected to a Initio INI-950 SCSI card and I recently > upgraded from SuSE 10.2 to 10.3. The new kernel doesn't see any of my > devices. I get the following in /var/log/messages: > > ACPI: PCI Interrupt :00:0a.0[A] -> GSI 17 (level, low)

[patch 2/7] git scsi misc include fix

2007-10-16 Thread akpm
From: Paul Jackson <[EMAIL PROTECTED]> The added line in scsi_eh.h: struct scatterlist sense_sgl; fails to compile, with the error: field 'sense_sgl' has incomplete type unless scatterlist.h happens to be included somehow already ... which it isn't always. So include scatterlist.h

[patch 1/7] git-scsi-misc gdth fix

2007-10-16 Thread akpm
I > > sent copy to lkml. > > config of kernel in attachment, > > I apply all three patches from hot-fixes. > > > > The screenshot is here: http://userweb.kernel.org/~akpm/crash.png > > It would appear that gdth_timeout() is passing a bad pointer into >

[patch 3/7] qla2xxx printk fixes

2007-10-16 Thread akpm
From: Andrew Morton <[EMAIL PROTECTED]> drivers/scsi/qla2xxx/qla_sup.c: In function 'qla24xx_write_flash_data': drivers/scsi/qla2xxx/qla_sup.c:655: warning: format '%llx' expects type 'long long unsigned int', but argument 6 has type 'dma_addr_t' drivers/scsi/qla2xxx/qla_sup.c: In function 'qla25

[patch 14/17] SCSI: early detection of medium not present, updated

2007-10-02 Thread akpm
From: Alan Stern <[EMAIL PROTECTED]> Taken from http://bugzilla.kernel.org/show_bug.cgi?id=8904 An updated (by Albert, I assume) version of the fourteen-month-old patch here: http://marc.info/?l=linux-kernel&m=115412002912837&w=2 Apparently fixes the bug described at http://bugzilla.kernel.org/

[patch 03/17] PCI Error Recovery: Symbios SCSI First Failure

2007-10-02 Thread akpm
From: Linas Vepstas <[EMAIL PROTECTED]> Implement the so-called "first failure data capture" (FFDC) for the symbios PCI error recovery. After a PCI error event is reported, the driver requests that MMIO be enabled. Once enabled, it then reads and dumps assorted status registers, and concludes by

[patch 02/17] PCI Error Recovery: Symbios SCSI base support

2007-10-02 Thread akpm
From: Linas Vepstas <[EMAIL PROTECTED]> Various PCI bus errors can be signaled by newer PCI controllers. This patch adds the PCI error recovery callbacks to the Symbios SCSI device driver. The patch has been tested, and appears to work well. Signed-off-by: Linas Vepstas <[EMAIL PROTECTED]> Cc:

[patch 11/17] Fix section mismatch in the Adaptec DPT SCSI Raid driver

2007-10-02 Thread akpm
From: Joe Korty <[EMAIL PROTECTED]> Fix section mismatch in the Adaptec DPT SCSI Raid driver. WARNING: vmlinux.o(.init.text+0x1fcd2): Section mismatch: reference to .exit.text:adpt_exit (between 'adpt_init' and 'ahc_linux_init') This warning is due to adaptec device detection calling th

[patch 13/17] drivers/scsi/imm.c: fix check-after-use

2007-10-02 Thread akpm
From: Adrian Bunk <[EMAIL PROTECTED]> The Coverity checker spotted that we have already oops'ed if "cmd" was NULL. Since "cmd" being NULL doesn't seem to be possible at this point this patch removes the NULL check. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMA

[patch 09/17] add includes to scsi_transport_iscsi.h

2007-10-02 Thread akpm
From: "Michael S. Tsirkin" <[EMAIL PROTECTED]> scsi/scsi_transport_iscsi.h uses struct mutex and struct list_head, so while linux/mutex.h and linux/list.h seem to be pulled in indirectly by one of the headers it includes, the right thing is to include linux/mutex.h and linus/list.h directly. Sign

[patch 16/17] mptbase: reset ioc initiator during PCI resume

2007-10-02 Thread akpm
From: "Darrick J. Wong" <[EMAIL PROTECTED]> It appears that the LSI SAS 1064E chip needs to be reset after a suspend/resume cycle before the driver attempts further communications with the chip. Without this patch, resuming the chip results in this error message being printed repeatedly and no mo

[patch 15/17] mpt fusion: shut up uninitialized variable warnings

2007-10-02 Thread akpm
drivers/message/fusion/mptctl.c: In function ‘mptctl_mpt_command’: drivers/message/fusion/mptctl.c:1764: warning: ‘bufIn.len’ may be used uninitialized in this function drivers/message/fusion/mptctl.c:1765: warning: ‘bufOut.len’ may be used uninitialized in this function come becaus

[patch 17/17] scsi: use notifier chain for Asynchronous Event Notification

2007-10-02 Thread akpm
From: Kristen Carlson Accardi <[EMAIL PROTECTED]> Add a notifier chain for SCSI asynchronous events. Add a notifier block for events which should be sent to user space, and add support for the MEDIA_CHANGE event, which would be used by a driver when new media has been inserted. Signed-off-by: Kr

[patch 07/17] nsp32_restart_autoscsi(): remove error check

2007-10-02 Thread akpm
From: Adrian Bunk <[EMAIL PROTECTED]> The Coverity checker noted that we'll anyway Oops later when we ran into this condition - and the error check didn't prevent that. Considering that the error condition shouldn't be possible, and we are not able to handle it easily, this patch simply removes t

[patch 04/17] drivers/scsi/pcmcia/nsp_cs.c: remove kernel 2.4 code

2007-10-02 Thread akpm
From: Adrian Bunk <[EMAIL PROTECTED]> Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> --- drivers/scsi/pcmcia/nsp_cs.c | 159 + drivers/scsi/pcmcia/nsp_cs.h |8 - 2 files changed, 5 insertions(+), 162 deletions(

[patch 12/17] advansys printk fix

2007-10-02 Thread akpm
From: Andrew Morton <[EMAIL PROTECTED]> Fix this: drivers/scsi/advansys.c: In function 'advansys_board_found': drivers/scsi/advansys.c:16320: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'resource_size_t' and clean the code up a little. Cc: James Bottomley <[EMAIL

[patch 10/17] scsi: send media state change modification events

2007-10-02 Thread akpm
From: Kay Sievers <[EMAIL PROTECTED]> This will send for a card reader slot (remove/add media): UEVENT[1187091572.155884] change /devices/pci:00/:00:1d.7/usb5/5-2/5-2:1.0/host7/target7:0:0/7:0:0:0 (scsi) UEVENT[1187091572.162314] remove /block/sdb/sdb1 (block) UEVENT[1187091572

[patch 08/17] Fix a potential NULL pointer deref in the aic7xxx, ahc_print_register() function

2007-10-02 Thread akpm
From: Jesper Juhl <[EMAIL PROTECTED]> The Coverity checker noticed that we have a potential NULL pointer deref in drivers/scsi/aic7xxx/aic7xxx_core.c::ahc_print_register(). This patch handles it by adding the same test against NULL that is used elsewhere in the same function. Signed-off-by: Jespe

[patch 06/17] Fix drivers/scsi/fdomain.c CONFIG_PCI=n warnings

2007-10-02 Thread akpm
From: Gabriel C <[EMAIL PROTECTED]> I get this warnings on current git when CONFIG_PCI is not set : drivers/scsi/fdomain.c:390: warning: 'PCI_dev' defined but not used drivers/scsi/fdomain.c:1768: warning: 'fdomain_pci_tbl' defined but not used Signed-off-by: Gabriel Craciunescu <[EMAIL PROTECTE

[patch 01/17] git-scsi-misc: arcmsr build fix

2007-10-02 Thread akpm
From: Andrew Morton <[EMAIL PROTECTED]> drivers/scsi/arcmsr/arcmsr_hba.c:129: error: 'arcmsr_pci_error_detected' undeclared here (not in a function) drivers/scsi/arcmsr/arcmsr_hba.c:130: error: 'arcmsr_pci_slot_reset' undeclared here (not in a function) Cc: James Bottomley <[EMAIL PROTECTED]> S

[patch 05/17] Remove dead references to MODULE_PARM macro

2007-10-02 Thread akpm
From: "Robert P. J. Day" <[EMAIL PROTECTED]> Remove the useless references to the obsolete MODULE_PARM macro. Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> --- drivers/scsi/ibmmca.c |7 --- 1 file changed, 7 deletions(-) diff -puN

[patch 17/30] Use mutex instead of semaphore in the OnStream SCSI Tape driver

2007-08-10 Thread akpm
From: Matthias Kaehlcke <[EMAIL PROTECTED]> The OnStream SCSI Tape driver uses a semaphore as mutex. Use the mutex API instead of the (binary) semaphore. Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> Reviewed-by: Satyam Sharma <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTE

[patch 25/30] drivers/scsi/dpt_i2o.c: kmalloc + memset conversion to kzalloc

2007-08-10 Thread akpm
From: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/scsi/dpt_i2o.c | 87632 -> 87457 (-175 bytes) drivers/scsi/dpt_i2o.o | 213064 -> 212324 (-740 bytes) Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> Acked-by: "Salyzyn, Mark" <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECT

[patch 26/30] drivers/message/fusion/mptctl.c: mostly kmalloc + memset conversion to kzalloc

2007-08-10 Thread akpm
From: Mariusz Kozlowski <[EMAIL PROTECTED]> This patch does kmalloc + memset conversion to kzalloc anSigned-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> d simplifies mptctl_probe(). drivers/message/fusion/mptctl.c | 82092 -> 81884 (-208 bytes) drivers/message/fusion/mptctl.o | 201784 -> 20064

  1   2   3   4   5   >