Re: [PATCH] scsi: use __u{8,16,32,64} instead of uint{8,16,32,64}_t in uapi headers

2019-08-12 Thread Martin K. Petersen
Masahiro, > When CONFIG_UAPI_HEADER_TEST=y, exported headers are compile-tested to > make sure they can be included from user-space. Applied to 5.4/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: csiostor: Prefer pcie_capability_read_word()

2019-08-12 Thread Martin K. Petersen
Replace pci_read_config_word() and pci_write_config_word() calls with > pcie_capability_read_word() and pcie_capability_write_word(). Applied to 5.4/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: esas2r: Prefer pcie_capability_read_word()

2019-08-12 Thread Martin K. Petersen
Replace pci_read_config_word() and pci_write_config_word() calls with > pcie_capability_read_word() and pcie_capability_write_word(). Applied to 5.4/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: sym53c8xx_2: remove redundant assignment to retv

2019-08-12 Thread Martin K. Petersen
Colin, > Variable retv is initialized to a value that is never read and it is > re-assigned later. The initialization is redundant and can be removed. Applied to 5.4/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: pmcraid: Fix a typo - pcmraid --> pmcraid

2019-08-12 Thread Martin K. Petersen
Christophe, > This should be 'pmcraid', not 'pcmraid' Applied to 5.4/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: fas216: Mark expected switch fall-throughs

2019-08-12 Thread Martin K. Petersen
Gustavo, > Mark switch cases where we are expecting to fall through. Applied to 5.4/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: pm80xx: remove redundant assignments to variable rc

2019-08-07 Thread Martin K. Petersen
tmf Applied to 5.4/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 00/15] hisi_sas: Misc patches

2019-08-07 Thread Martin K. Petersen
the rest are tidy-up patches Applied to 5.4/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2] scsi: ufs: Configure clock in .hce_enable_notify() in Cadence UFS

2019-08-07 Thread Martin K. Petersen
equence whereas .hce_enable_notify will be called everytime > controller is reenabled. Applied to 5.4/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH V2] scsi: ufs: revamp string descriptor reading

2019-08-07 Thread Martin K. Petersen
Tomas, > Define new a type: uc_string_id for easier string handling and less > casting. Reduce number or string copies in price of a dynamic > allocation. Applied to 5.4/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: wd33c93: Mark expected swich fall-through

2019-08-07 Thread Martin K. Petersen
llthrough=] >case 2: ++x; >^~~ Applied to 5.4/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: sun3_scsi: Mark expected switch fall-throughs

2019-08-07 Thread Martin K. Petersen
Gustavo, > Mark switch cases where we are expecting to fall through. > > This patch fixes the following warnings: > > drivers/scsi/sun3_scsi.c: warning: this statement may fall through > [-Wimplicit-fallthrough=]: => 399:9, 403:9 Applied to 5.4/scsi-queue, thanks! -

Re: [PATCH] scsi: qlogicpti: Mark expected switch fall-throughs

2019-08-07 Thread Martin K. Petersen
Gustavo, > Mark switch cases where we are expecting to fall through. > > This patch fixes the following warnings (Building: sparc defconfig): Applied to 5.4/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: ibmvfc: Mark expected switch fall-throughs

2019-08-07 Thread Martin K. Petersen
Gustavo, > Mark switch cases where we are expecting to fall through. Applied to 5.4/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi/megaraid_sas: fix a compilation warning

2019-08-07 Thread Martin K. Petersen
lied to 5.4/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH -next] scsi: megaraid_sas: Make a bunch of functions static

2019-08-07 Thread Martin K. Petersen
YueHaibing, > Fix sparse warnings: Applied to 5.4/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: ibmvscsi_tgt: Mark expected switch fall-throughs

2019-07-30 Thread Martin K. Petersen
Gustavo, > Mark switch cases where we are expecting to fall through. Applied to 5.4/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: cxlflash: Mark expected switch fall-throughs

2019-07-30 Thread Martin K. Petersen
Gustavo A., > Mark switch cases where we are expecting to fall through. Applied to 5.4/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: qla2xxx: Fix possible null-pointer dereferences in qla2x00_alloc_fcport()

2019-07-30 Thread Martin K. Petersen
Jia-Ju, > In qla2x00_alloc_fcport(), fcport is assigned to NULL in the error > handling code on line 4880: > fcport = NULL; Applied to 5.3/scsi-fixes. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 1/3] scsi: qla2xxx: Replace vmalloc + memset with vzalloc

2019-07-30 Thread Martin K. Petersen
Chuhong, > Use vzalloc instead of using vmalloc to allocate memory and then > zeroing it with memset. This simplifies the code. Applied to 5.4/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH -next] scsi: aic94xx: Remove unnecessary null check

2019-07-30 Thread Martin K. Petersen
YueHaibing, > kmem_cache_destroy() can handle NULL pointer correctly, so there is > no need to check NULL pointer before calling kmem_cache_destroy(). Applied to 5.4/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2 -next] scsi: qla2xxx: Remove unnecessary null check

2019-07-30 Thread Martin K. Petersen
YueHaibing, > A null check before dma_pool_destroy is redundant, > so remove it. This is detected by coccinelle. Applied to 5.4/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] ibmvfc: fix WARN_ON during event pool release

2019-07-23 Thread Martin K. Petersen
Tyrel, > While removing an ibmvfc client adapter a WARN_ON like the following > WARN_ON is seen in the kernel log: Applied to 5.3/scsi-fixes, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH][next] scsi: megaraid_sas: fix spelling mistake "megarid_sas" -> "megaraid_sas"

2019-07-23 Thread Martin K. Petersen
Colin, > Fix spelling mistake in kernel warning message and replace printk with > with pr_warn. Applied to 5.3/scsi-fixes, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: fcoe: fix a typo

2019-07-23 Thread Martin K. Petersen
Christophe, > #define relative to FCOE CTLR start with FCOE_CTLR, except > FCOE_CTRL_SOL_TOV. > > This is likely a typo and CTRL should be CTLR here as well. Applied to 5.3/scsi-fixes, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH -next] scsi: megaraid_sas: Make some functions static

2019-07-23 Thread Martin K. Petersen
YueHaibing, > Fix sparse warnings: > > drivers/scsi/megaraid/megaraid_sas_fusion.c:541:1: warning: symbol > 'megasas_alloc_cmdlist_fusion' was not declared. Should it be static? Applied to 5.3/scsi-fixes. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH RESEND] scsi: megaraid_sas: fix panic on loading firmware crashdump

2019-07-23 Thread Martin K. Petersen
Junxiao, > While loading fw crashdump in function fw_crash_buffer_show(), left > bytes in one dma chunk was not checked, if copying size over it, > overflow access will cause kernel panic. Applied to 5.3/scsi-fixes. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH B] scsi: fdomain: fix building pcmcia front-end

2019-07-22 Thread Martin K. Petersen
plied to 5.3/scsi-fixes. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [GIT PULL] final round of SCSI updates for the 5.2+ merge window

2019-07-20 Thread Martin K. Petersen
orthogonal to the SCSI changes. I do think it's important that we get these fixed up in 5.3. And given that we're on the eve of the merge window, the time to get these changes merged is now. I'd hate to see them miss another release... -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: ses: Fix out-of-bounds memory access in ses_enclosure_data_process()

2019-07-18 Thread Martin K. Petersen
Waiman, > Is someone going to merge this patch in the current cycle? I was hoping somebody would step up and patch all the bad accesses and not just page 10. -- Martin K. Petersen Oracle Linux Engineering

Re: properly communicate queue limits to the DMA layer v2

2019-07-16 Thread Martin K. Petersen
pt3sas was acked, I assume it's the same thing. I'm not so keen on how big the last batch of patches for the merge window is getting. But I queued your fixes up for 5.3. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH -next] scsi: lpfc: Remove unnecessary null check before kfree

2019-07-16 Thread Martin K. Petersen
YueHaibing, > A null check before a kfree is redundant, so remove it. > This is detected by coccinelle. Applied to 5.4/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v1] scsi: ufs: change msleep to usleep_range

2019-07-16 Thread Martin K. Petersen
Bean, > This patch is to change msleep() to usleep_range() based on > Documentation/timers/timers-howto.txt. It suggests using > usleep_range() for small msec(1ms - 20ms) since msleep() will often > sleep longer than desired value. Applied to 5.4/scsi-queue, thanks! -- Martin

Re: [PATCH] scsi: libfc: fix null pointer dereference on a null lport

2019-07-16 Thread Martin K. Petersen
Colin, > Currently if lport is null then the null lport pointer is dereference > when printing out debug via the FC_LPORT_DB macro. Fix this by using > the more generic FC_LIBFC_DBG debug macro instead that does not use > lport. Applied to 5.3/scsi-fixes, thanks! -- Martin

Re: properly communicate queue limits to the DMA layer v2

2019-07-15 Thread Martin K. Petersen
Christoph, > Ping? What happened to this set of bug fixes? I thought they depended on Jens' tree? -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: libfc: fix null pointer dereference on a null lport

2019-07-11 Thread Martin K. Petersen
Hannes, Please review! > Currently if lport is null then the null lport pointer is dereference > when printing out debug via the FC_LPORT_DB macro. Fix this by using > the more generic FC_LIBFC_DBG debug macro instead that does not use > lport. -- Martin K. Petersen

Re: [PATCH 0/2] scsi: add support for request batching

2019-07-11 Thread Martin K. Petersen
Paolo, > Stefan answered, and the series now has three reviews! It may be late > for 5.3 but I hope this can go in soon. I queued these up for 5.4. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2 2/2] scsi: aacraid: Remove references to Series-9 (only)

2019-07-11 Thread Martin K. Petersen
edhat.com/show_bug.cgi?id=1724077 > https://jira.sw.ru/browse/PSBM-95736 These two links don't appear to be publicly accessible and therefore do not belong in the patch. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: uapi: ufs: Fix SPDX license identifier

2019-07-11 Thread Martin K. Petersen
he SPDX tags that this > is a kernel header to which the Linux-syscall-note applies. OK. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 2/4] lpfc: reduce stack size with CONFIG_GCC_PLUGIN_STRUCTLEAK_VERBOSE

2019-07-11 Thread Martin K. Petersen
However, now > they each get their own copy, which leads to a huge increase in stack > usage as seen from the compiler warning: Applied to 5.3/scsi-fixes. Thank you! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 1/2] scsi: devinfo: BLIST_TRY_VPD_PAGES for SanDisk Cruzer Blade

2019-07-11 Thread Martin K. Petersen
Marcos, > Currently, all USB devices skip VPD pages, even when the device > supports them (SPC-3 and later), but some of them support VPD, like > Cruzer Blade. We'll try it and see what happens. As I mentioned, SanDisk have traditionally been pretty good wrt. spec compliance. --

Re: [PATCH] scsi: aha1740: Use !x in place of NULL comparisons

2019-07-11 Thread Martin K. Petersen
James, > I also don't really think the replacement adds anything to readability, > so it should probably be removed from the checkpatch warnings. I agree. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: libsas: remove the exporting of sas_wait_eh

2019-07-11 Thread Martin K. Petersen
plied to 5.3/scsi-fixes, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH -next] scsi: megaraid_sas: Make some symbols static

2019-07-11 Thread Martin K. Petersen
hould it be static? > drivers/scsi/megaraid/megaraid_sas_base.c:3194:25: warning: symbol > 'megaraid_host_attrs' was not declared. Should it be static? Applied to 5.3/scsi-fixes, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: virtio_scsi: Use struct_size() helper

2019-07-11 Thread Martin K. Petersen
Gustavo, > One of the more common cases of allocation size calculations is finding > the size of a structure that has a zero-sized array at the end, along > with memory for some number of elements for that array. For example: Applied to 5.4/scsi-queue, thanks! -- Martin K.

Re: [PATCH] scsi: uapi: ufs: Fix SPDX license identifier

2019-07-11 Thread Martin K. Petersen
Arnd to ack the license change since he has made changes (however mechanical) to the file. -- Martin K. Petersen Oracle Linux Engineering

Re: [GIT PULL] first round of SCSI updates for the 5.2+ merge window

2019-07-09 Thread Martin K. Petersen
James, > Actually, I was planning a second pull request for that one. I > presume you think it's ready to go? It's spent 3 weeks in -next without any complaints. -- Martin K. Petersen Oracle Linux Engineering

Re: [GIT PULL] first round of SCSI updates for the 5.2+ merge window

2019-07-09 Thread Martin K. Petersen
has > failed). Plus number of minor changes, spelling fixes and other > trivia. Looks like you forgot to pull in the scatterlist topic branch. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 0/2] scsi: add support for request batching

2019-06-26 Thread Martin K. Petersen
Paolo, > Ping? Are there any more objections? It's a core change so we'll need some more reviews. I suggest you resubmit. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: ufshdc-pci: Add Intel PCI Ids for EHL

2019-06-26 Thread Martin K. Petersen
Adrian, > Add more Intel PCI Ids. Applied to 5.3/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2 0/3] scsi: ufs: typo fixes and improvement

2019-06-26 Thread Martin K. Petersen
y by hand. Please use git send-email to post patches. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: linux-next: manual merge of the scsi tree with Linus' tree

2019-06-20 Thread Martin K. Petersen
; GPL-2.0-or-later Looks like there are tons of the old style SPDX tags in the kernel. Is there going to be a treewide conversion to the new tag format? Just wondering how much to clean up given that the files Christoph touched only constitute a subset of the old style tags found under drivers/scsi. --

Re: linux-next: manual merge of the scsi tree with Linus' tree

2019-06-20 Thread Martin K. Petersen
but have had a critical fire eating up a bunch of my time the last couple of weeks. I'll get to it... -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 1/1] scsi: virtio_scsi: remove unused 'affinity_hint_set'

2019-06-20 Thread Martin K. Petersen
Dongli, > The 'affinity_hint_set' is not used any longer since > commit 0d9f0a52c8b9 ("virtio_scsi: use virtio IRQ affinity"). Applied to 5.3/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v1] scsi: Don't select SCSI_PROC_FS by default

2019-06-20 Thread Martin K. Petersen
interfaces from /proc simply never took place. What happened was that *new* functionality largely went to sysfs. Note that I don't have a problem adding missing knobs to sysfs where it makes sense. But it will obviously take a while for userland apps to adopt it. -- Martin K. Petersen

Re: [PATCH] scsi: bnx2fc: Check if sense buffer has been allocated during completion

2019-06-20 Thread Martin K. Petersen
Hi Young, > sc_cmd->sense_buffer is not guaranteed to be allocated so we need to > sc_cmd->check if the pointer is NULL before trying to copy anything > into it. bnx2fc does not appear to use a driver-specific sense buffer. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 1/2] scsi: devinfo: BLIST_TRY_VPD_PAGES for SanDisk Cruzer Blade

2019-06-20 Thread Martin K. Petersen
just trying to establish how risky it is for me to pick it up. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 1/2] scsi: devinfo: BLIST_TRY_VPD_PAGES for SanDisk Cruzer Blade

2019-06-20 Thread Martin K. Petersen
that also > have one. I can't say about "all others" but so far, 4/4 devices that > I tested have VPD. (They were all SPC-3 or SPC-4 compliant). That's not a very large sample. However, SanDisk have traditionally been pretty good wrt. spec compliance. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: scsi_sysfs.c: Hide wwid sdev attr if VPD is not supported

2019-06-18 Thread Martin K. Petersen
is, > change the scsi_sdev_attr_is_visible function to hide wwid sysfs file > when the devices does not support VPD. Not a big fan of attribute files that come and go. Why not just return an empty string? Hannes? -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 1/2] scsi: devinfo: BLIST_TRY_VPD_PAGES for SanDisk Cruzer Blade

2019-06-18 Thread Martin K. Petersen
is change with? -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: fdomain: fix building pcmcia front-end

2019-06-18 Thread Martin K. Petersen
sible option and select it if either of the PCI/ISA/PCMCIA drivers are enabled. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 1/1] scsi: ufs-qcom: Add support for platforms booting ACPI

2019-06-18 Thread Martin K. Petersen
gt; advertised as present. Applied to 5.3/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: megaraid_sas: Use struct_size() helper

2019-06-18 Thread Martin K. Petersen
. > struct MR_PD_CFG_SEQ seq[1]; > } __packed; > > Make use of the struct_size() helper instead of an open-coded version > in order to avoid any potential type mistakes. Applied to 5.3/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2 0/7] NCR5380 drivers: fixes and other improvements

2019-06-18 Thread Martin K. Petersen
i.c. The remaining complaints seem to be > false positives. > > Some of these patches are not trivial to backport. Those patches have > been nominated for recent -stable branches only. Applied to 5.3/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] [resend] wd719x: Fix resets and aborts

2019-06-18 Thread Martin K. Petersen
Ondrej, > Host reset oopses because it calls wd719x_chip_init, which calls > request_firmware, under a spinlock. Stop the RISC first, then flush > active SCBs under a spinlock. Finally call wd719x_chip_init unlocked. Applied to 5.3/scsi-queue. Thank you! -- Martin K. Petersen

Re: [PATCH] scsi: tcmu: Simplify 'tcmu_update_uio_info()'

2019-06-18 Thread Martin K. Petersen
Christophe, > Use 'kasprintf()' instead of: >- snprintf(NULL, 0... >- kmalloc(... >- snprintf(... > > This is less verbose and saves 7 bytes (i.e. the space for '/(null)') if > 'udev->dev_config' is NULL. Applied to 5.3/scsi-queue. Thanks! -- Martin K. Pe

Re: [PATCH] scsi: storvsc: Add ability to change scsi queue depth

2019-06-18 Thread Martin K. Petersen
Branden, > Adding functionality to allow the SCSI queue depth to be changed, by > utilizing the "scsi_change_queue_depth" function. Applied to 5.3/scsi-queue. Please run checkpatch before submission. I fixed it up this time. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: mpt3sas: Mark expected switch fall-through

2019-06-18 Thread Martin K. Petersen
level 3 was used: -Wimplicit-fallthrough=3 Applied to 5.3/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2] scsi: libsas, lldds: Use dev_is_expander()

2019-06-18 Thread Martin K. Petersen
i-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2 2/7] scsi: NCR5380: Always re-enable reselection interrupt

2019-06-18 Thread Martin K. Petersen
Michael, > No matter - patch applied cleanly to what I'm running on my Falcon, > and works just fine for now (stresstest will take a few hours to > complete). And that'll thoroughly exercise the reselection code path, > from what we've seen before. How did it go? -- Martin

Re: properly communicate queue limits to the DMA layer

2019-06-07 Thread Martin K. Petersen
. I'll monitor and merge them. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] drivers/ata: remove flood "Enabling discard_zeroes_data"

2019-06-07 Thread Martin K. Petersen
;horkage & ATA_HORKAGE_ZERO_AFTER_TRIM) { > - ata_dev_info(dev, "Enabling > discard_zeroes_data\n"); > + dev->horkage & ATA_HORKAGE_ZERO_AFTER_TRIM) > rbuf[14] |= 0x40; /* LBPRZ */ Reviewed-by: Martin K. Petersen -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] drivers/ata: print trim features at device initialization

2019-06-07 Thread Martin K. Petersen
quot;trim: %s, queued: %s, > zero_after_trim: %s\n", > + trim_status, trim_queued, trim_zero); > + } > + Otherwise no particular objections. We were trying to limit noise during boot which is why this information originally went to sysfs instead of being printed during probe. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: libsas, lldds: Use dev_is_expander()

2019-06-07 Thread Martin K. Petersen
John, >> Many times in libsas, and in LLDDs which use libsas, the check for an >> expander device is re-implemented or open coded. > > Applied to 5.3/scsi-queue, thanks. Dropped again. Breaks isci. Please fix. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH trivial] scsi: isci: Grammar s/the its/its/

2019-06-07 Thread Martin K. Petersen
Geert, Applied to 5.3/scsi-queue. Thanks. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH trivial] [SCSI] aic7xxx: Spelling s/configuraion/configuration/

2019-06-07 Thread Martin K. Petersen
Geert, Applied to 5.3/scsi-queue. Thanks. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH -next] scsi: megaraid_sas: remove set but not used variable 'sge_sz'

2019-06-07 Thread Martin K. Petersen
> > It's not used any more since > commit 200aed582d61 ("megaraid_sas: endianness related bug fixes and code > optimization") Applied to 5.3/scsi-queue. Thanks. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH -next] scsi: megaraid_sas: remove set but not used variables 'buff_addr' and 'ci_h'

2019-06-07 Thread Martin K. Petersen
("megaraid_sas : Firmware crash dump feature support") > > 'ci_h' is not used since commit 9b3d028f3468 ("scsi: megaraid_sas: > Pre-allocate frequently used DMA buffers") Applied to 5.3/scsi-queue. Thanks. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: libsas, lldds: Use dev_is_expander()

2019-06-06 Thread Martin K. Petersen
John, > Many times in libsas, and in LLDDs which use libsas, the check for an > expander device is re-implemented or open coded. Applied to 5.3/scsi-queue, thanks. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: lpfc: Avoid unused function warnings

2019-06-06 Thread Martin K. Petersen
t_get_ctx_for_oxid' [-Werror,-Wunused-function] > > These functions are only compiled when CONFIG_NVME_TARGET_FC is enabled. > Use that same condition so there is no more warning. While the fixes > commit did not introduce these functions, it caused these warnings. Applied to 5.3/scs

Re: [PATCH v3] scsi: ibmvscsi: Don't use rc uninitialized in ibmvscsi_do_work

2019-06-04 Thread Martin K. Petersen
scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH -next] scsi: lpfc: Make some symbols static

2019-06-04 Thread Martin K. Petersen
gt; drivers/scsi/lpfc/lpfc_init.c:75:10: warning: symbol 'lpfc_present_cpu' was > not declared. Should it be static? Applied to 5.3/scsi-queue. Thanks. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH -next] scsi: lpfc: Remove set but not used variables 'qp'

2019-06-04 Thread Martin K. Petersen
YueHaibing, > Fixes gcc '-Wunused-but-set-variable' warnings: > > drivers/scsi/lpfc/lpfc_init.c: In function lpfc_setup_cq_lookup: > drivers/scsi/lpfc/lpfc_init.c:9359:30: warning: variable qp set but not used > [-Wunused-but-set-variable] Applied to 5.3/scsi-queue, thanks

Re: [PATCH 0/6] hisi_sas: Some misc patches

2019-06-04 Thread Martin K. Petersen
John, > This patchset introduces some misc patches for the driver. Nothing > particularly stands out, maybe apart from a patch to delete a PHY's > timer when necessary. Applied to 5.3/scsi-queue, thanks. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: ufs: Check that space was properly alloced in copy_query_response

2019-06-04 Thread Martin K. Petersen
hat doesn't use dev_cmd > for device management requests, and was wrong in the first place. Applied to 5.2/scsi-fixes, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2] message/fusion/mptbase.c: Use kmemdup instead of memcpy and kmalloc

2019-05-29 Thread Martin K. Petersen
Bharath, > Replace kmalloc + memcpy with kmemdup. Applied to 5.3/scsi-queue. Thanks. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH -next] scsi: megaraid_sas: remove set but not used variables 'host' and 'wait_time'

2019-05-29 Thread Martin K. Petersen
megaraid_sas: add hibernation support") > > 'wait_time' is not used since commit > 11c71cb4ab7c ("megaraid_sas: Do not allow PCI access during OCR") Applied to 5.3/scsi-queue, thanks. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH -next] scsi: megaraid_sas: remove set but not used variable 'cur_state'

2019-05-29 Thread Martin K. Petersen
e] Applied to 5.3/scsi-queue. Thanks. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] mpt3sas_ctl: fix double-fetch bug in _ctl_ioctl_main()

2019-05-29 Thread Martin K. Petersen
d then modify it in the second fetch. > > To fix this, we need to recheck the 'ioc_number' in the second fetch. Applied to 5.3/scsi-queue, thanks. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2] scsi: libsas: no need to join wide port again in sas_ex_discover_dev()

2019-05-29 Thread Martin K. Petersen
ueue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 1/2] scsi: libsas: only clear phy->in_shutdown after shutdown event done

2019-05-29 Thread Martin K. Petersen
ill clear > phy->in_shutdown and a new shutdown-event will be queued. The queue will > be full of these shutdown-events. > > Fix this by only clear phy->in_shutdown in sas_phye_shutdown(), that is > after the first shutdown-event has been executed. Applied 1+2 to 5.2/scsi-fi

Re: [PATCH] scsi: lpfc: Use *_pool_zalloc rather than *_pool_alloc

2019-05-29 Thread Martin K. Petersen
Thomas, > Use *_pool_zalloc rather than *_pool_alloc followed by memset with 0. Applied to 5.3/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: scsi_dh_alua: Fix possible null-ptr-deref

2019-05-29 Thread Martin K. Petersen
YueHaibing, > If alloc_workqueue fails in alua_init, it should return -ENOMEM, > otherwise it will trigger null-ptr-deref while unloading module which > calls destroy_workqueue dereference wq->lock like this: Applied to 5.2/scsi-fixes. Thanks! -- Martin K. Petersen

Re: [PATCH v2] scsi: smartpqi: properly set both the DMA mask and the coherent DMA mask in pqi_pci_init()

2019-05-29 Thread Martin K. Petersen
Lianbo, > When SME is enabled, the smartpqi driver won't work on the HP DL385 > G10 machine, which causes the failure of kernel boot because it fails > to allocate pqi error buffer. Please refer to the kernel log: Applied to 5.2/scsi-fixes, thanks! -- Martin K. Petersen Ora

Re: [PATCH][next] scsi: hpsa: fix an uninitialized read and dereference of pointer dev

2019-05-29 Thread Martin K. Petersen
Colin, > Currently the check for a lockup_detected failure exits via the label > return_reset_status that reads and dereferences an uninitialized > pointer dev. Fix this by ensuring dev is inintialized to null. Applied to 5.3/scsi-queue, thanks! -- Martin K. Petersen Ora

Re: [Patch v2] target/iscsi: fix possible condition with no effect (if == else)

2019-05-29 Thread Martin K. Petersen
Hariprasad, > fix below warning reported by coccicheck > > drivers/target/iscsi/iscsi_target_nego.c:175:6-8: WARNING: possible > condition with no effect (if == else) Applied to 5.3/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] fdomain: Add PCMCIA support

2019-05-29 Thread Martin K. Petersen
Ondrej, > Add PCMCIA card support to Future Domain SCSI driver. > > Tested with IBM SCSI PCMCIA Adapter 40G1890. Applied to 5.3/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: fix typos in code comments

2019-05-29 Thread Martin K. Petersen
Weitao, > fix abord to abort Updated patch header to reflect the pm8001 driver and applied to 5.3/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] fdomain: Add register definitions

2019-05-29 Thread Martin K. Petersen
Ondrej, > Add register bit definitions from documentation to header file and use > them instead of magic constants. No changes to generated binary. Applied to 5.3/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: ses: Fix out-of-bounds memory access in ses_enclosure_data_process()

2019-05-21 Thread Martin K. Petersen
I need to synthesize the contents of the pages with problems. I can't share the ones I have received from customers so I removed the arrays from the patch. -- Martin K. Petersen Oracle Linux Engineering >From 968dfc5cd498d2ea6e77801cc9b9183a1a28b35d Mon Sep 17 00:00:00 2001 From: "M

<    3   4   5   6   7   8   9   10   11   12   >