[PATCH] scsi: clean obsolete return values of eh_timed_out

2019-02-16 Thread Avri Altman
Those are no longer in use since commit 242f9dcb8ba6 ("block: unify request timeout handling"). Signed-off-by: Avri Altman --- include/scsi/scsi_host.h | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/include/scsi/scsi_host.h b/include/scsi/scsi_host.h index 4047d68..dbbd

Re: qla2xxx init warning with blk_mq at drivers/pci/msi.c:1273 pci_irq_get_affinity+0xf4/0x120

2019-02-16 Thread Meelis Roos
Hi Meelis, Can you try patch just posted here. https://patchwork.kernel.org/patch/10816115/ It works on both sparcs - no warnings, normal bootup as before. There is no cable attached so I do not know if it really works but that's the same state as before. -- Meelis Roos

Re: [PATCH] scsi: mvumi: fix 32 bit shift of a 32 bit unsigned int

2019-02-16 Thread Walter Harms
Am 16.02.2019 15:44, schrieb Colin King: > From: Colin Ian King > > Currently m_sg->baseaddr_h (a 32 bit unsigned int) is being shifted by a > total of 32 bits; this always produces a 0 result. Fix this by casting > it to a dma_addr_t (a 64 bit unsigned int) before performing the shift. > > Det

[PATCH] scsi: mvumi: fix 32 bit shift of a 32 bit unsigned int

2019-02-16 Thread Colin King
From: Colin Ian King Currently m_sg->baseaddr_h (a 32 bit unsigned int) is being shifted by a total of 32 bits; this always produces a 0 result. Fix this by casting it to a dma_addr_t (a 64 bit unsigned int) before performing the shift. Detected by CoverityScan, CID#147270 ("Operands don't affe

[PATCH -next] scsi: mvumi: Using plain integer as NULL pointer

2019-02-16 Thread YueHaibing
Fix following sparse warning: drivers/scsi/mvumi.c:1797:48: warning: Using plain integer as NULL pointer drivers/scsi/mvumi.c:2143:50: warning: Using plain integer as NULL pointer drivers/scsi/mvumi.c:755:58: warning: Using plain integer as NULL pointer Signed-off-by: YueHaibing --- drivers/scs