pfc driver supports the Emulex LightPulse
Family of Fibre Channel PCI host adapters.
Reviewed-by: James Smart
-- james
(-)
Reviewed-by: James Smart
-- james
smime.p7s
Description: S/MIME Cryptographic Signature
+++-
1 file changed, 38 insertions(+), 43 deletions(-)
Reviewed-by: James Smart
-- james
smime.p7s
Description: S/MIME Cryptographic Signature
On 12/24/2020 3:05 AM, leonid.rav...@dell.com wrote:
From: Leonid Ravich
to remove locking from nvmet_fc_find_target_queue
which called per IO.
Signed-off-by: Leonid Ravich
---
drivers/nvme/target/fc.c | 54
1 file changed, 32
goto rjt;
+ goto rjt_free;
}
return 0;
+
+rjt_free:
+ kfree(lcb_context);
rjt:
memset(, 0, sizeof(stat));
stat.un.b.lsRjtRsnCode = rjt_err;
Looks good.
Reviewed-by: James Smart
-- james
smime.p7s
Description: S/MIME Cryptographic Signature
we respond
*/
Looks good.
Reviewed-by: James Smart
-- james
smime.p7s
Description: S/MIME Cryptographic Signature
= lpfc_cmd->rdata;
+ ndlp = rdata->pnode;
+
if (bf_get(lpfc_wcqe_c_xb, wcqe)) {
/* TOREMOVE - currently this flag is checked during
* the release of lpfc_iocbq. Remove once we move
Looks good.
Reviewed-by: James Smart
-- james
smime
is called with hbalock held.
**/
-void
+static void
lpfc_nvmet_prep_abort_wqe(struct lpfc_iocbq *pwqeq, u16 xritag, u8 opt)
{
union lpfc_wqe128 *wqe = >wqe;
Zou, Thank You . I just submitted the same patch. Either one Martin
wants to take.. :)
-- james
Reviewed-by: James Sm
.
Reviewed-by: James Smart
Thanks
-- james
lpfc_sli.c:7329:26: error:
implicit declaration of function 'get_cpu_idle_time'
Add the missing dependency.
Fixes: 317aeb83c92b ("scsi: lpfc: Add blk_io_poll support for latency
improvment")
Cc: Dick Kennedy
Cc: James Smart
Signed-off-by: Guenter Roeck
---
drivers/scsi/Kc
On 7/7/2020 10:09 AM, Randy Dunlap wrote:
On 7/7/20 1:08 AM, Stephen Rothwell wrote:
Hi all,
Changes since 20200706:
on i386:
when CONFIG_ACPI is not set/enabled:
../drivers/scsi/lpfc/lpfc_init.c:1265:15: error: implicit declaration of
function 'get_cpu_idle_time'; did you mean
= container_of(iop, struct lpfc_queue, iop);
- __lpfc_sli4_hba_process_cq(cq, LPFC_IRQ_POLL);
+ __lpfc_sli4_hba_process_cq(cq, LPFC_IRQ_POLL);
return 1;
}
Reviewed-by: James Smart
-- james
On 7/6/2020 6:08 AM, Colin King wrote:
From: Colin Ian King
The expressions start_idx - dbg_cnt is evaluated using unsigned int
arthithmetic (since these variables are unsigned ints) and hence can
never be less than zero, so the less than comparison is never true.
Re-write the expression to
pfc_sli4_hba_unset(struct lpfc_hba *phba)
lpfc_sli4_xri_exchange_busy_wait(phba);
/* per-phba callback de-registration for hotplug event */
- lpfc_cpuhp_remove(phba);
+ if (phba->pport)
+ lpfc_cpuhp_remove(phba);
/* Disable PCI subsystem interrupt */
lpfc_sli4_disable_intr(phba);
Reviewed-by: James Smart
-- james
oop.c | 29 +++--
1 file changed, 23 insertions(+), 6 deletions(-)
Reviewed-by: James Smart
Looks good. Sorry for the delay.
-- james
_state == FC_OBJSTATE_ONLINE &&
Reviewed-by: James Smart
-- james
ot; in DEV_LOSS.
This sounds reasonable. At least the lpfc_nlp_init() and lpfc_nlp_get() case
needs this. And I suppose this is also ok for the lfpc_enable_node().
Reviewed-by: Daniel Wagner
Thanks,
Daniel
Looked at it here and it looks good.
Reviewed-by: James Smart
-- james
[Sat Dec 22 23:08:20 2018] lpfc :82:00.0: 2:(0):2755 ADISC failure
DID:05DF00 Status:x9/x7
Fixes: 92d7f7b0cde3 ("[SCSI] lpfc: NPIV: add NPIV support on top of SLI-3")
Cc: James Smart
Cc: Alex Iannicelli
Signed-off-by: Daniel Wagner
---
Hi,
Unfortunatly, I don't really know
dware queues if fewer irq
vectors")
Cc: James Smart
Signed-off-by: Daniel Wagner
---
Hi,
Not entirely sure if this correct. I tried to understand the logic of
the mentioned patch but failed to grasps all the details. Anyway, we
observe a crash in lpfc_sli4_process_missed_mbox_completions() while
On 9/6/2019 4:18 PM, Linus Torvalds wrote:
On Fri, Sep 6, 2019 at 1:39 PM James Bottomley
wrote:
diff --git a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c
index 8d8c495b5b60..d65558619ab0 100644
--- a/drivers/scsi/lpfc/lpfc_attr.c
+++ b/drivers/scsi/lpfc/lpfc_attr.c
@@
/scsi/lpfc/lpfc_hbadisc.c | 4 ++--
drivers/scsi/lpfc/lpfc_sli.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
Reviewed by: James Smart
-- james
On 8/30/2019 2:07 PM, Sagi Grimberg wrote:
Yes we do, userspace should use it to order events. Does udev not
handle that properly today?
The problem is not ordering of events, its really about the fact that
the chardev can be removed and reallocated for a different controller
(could be a
On 8/30/2019 11:08 AM, Sagi Grimberg wrote:
Yes we do, userspace should use it to order events. Does udev not
handle that properly today?
The problem is not ordering of events, its really about the fact that
the chardev can be removed and reallocated for a different controller
(could be a
On 8/27/2019 10:02 PM, Abdul Haleem wrote:
Greetings,
linux-next kernel 5.3.0-rc1 failed to boot with kernel Oops on Power 9
box
I see a recent changes to lpfc code was from commit
10541f03 scsi: lpfc: Update lpfc version to 12.4.0.0
Recent boot logs:
[..snip..]
see
On 8/19/2019 7:49 AM, Keith Busch wrote:
On Mon, Aug 19, 2019 at 12:06:23AM -0700, Marta Rybczynska wrote:
- On 16 Aug, 2019, at 15:16, Christoph Hellwig h...@lst.de wrote:
Sorry for not replying to the earlier version, and thanks for doing
this work.
I wonder if instead of using our
On 8/7/2019 6:35 PM, Fuqian Huang wrote:
Remove the redundant initialization code.
Signed-off-by: Fuqian Huang
---
Looks good!
Reviewed-by: James Smart
-- james
/lpfc/lpfc_mem.c | 21 +
1 file changed, 9 insertions(+), 12 deletions(-)
Thanks
Reviewed-by: James Smart
-- james
->host_lock, flags);
ndlp = __lpfc_findnode_rpi(vport, rpi);
- spin_unlock_irq(shost->host_lock);
+ spin_unlock_irqrestore(shost->host_lock, flags);
return ndlp;
}
Thank you.
Reviewed-by: James Smart
-- james
On 7/11/2019 7:10 AM, YueHaibing wrote:
A null check before a kfree is redundant, so remove it.
This is detected by coccinelle.
Signed-off-by: YueHaibing
---
drivers/scsi/lpfc/lpfc_bsg.c | 4 +---
Reviewed-by: James Smart
-- james
-
1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: James Smart
-- james
n ret;
-
/* localport is allocated from the stack, but the registration
* call allocates heap memory as well as the private area.
*/
Reviewed-by: James Smart
lpfc: Make some symbols static")
Signed-off-by: Nathan Chancellor
---
drivers/scsi/lpfc/lpfc_nvmet.c | 2 ++
1 file changed, 2 insertions(+)
Looks fine.
Reviewed-by: James Smart
(+), 5 deletions(-)
Looks good - thank You
Reviewed-by: James Smart
e70596a60f88 ("scsi: lpfc: Fix
poor use of hardware queues if fewer irq vectors")
Signed-off-by: YueHaibing
Looks good - thank You
Reviewed-by: James Smart
On 5/29/2019 1:21 PM, Thomas Meyer wrote:
Use *_pool_zalloc rather than *_pool_alloc followed by memset with 0.
Signed-off-by: Thomas Meyer
---
looks good
Reviewed-by: James Smart
-- james
On 3/20/2019 10:39 AM, Greg KH wrote:
On Tue, Jan 15, 2019 at 02:41:17PM -0800, James Smart wrote:
On 1/14/2019 5:15 PM, Kees Cook wrote:
On Sat, Jan 12, 2019 at 7:29 AM Willy Tarreau wrote:
From: Silvio Cesare
Change snprintf to scnprintf. There are generally two cases where using
snprintf
On 3/20/2019 10:39 AM, Greg KH wrote:
On Tue, Jan 15, 2019 at 02:41:17PM -0800, James Smart wrote:
On 1/14/2019 5:15 PM, Kees Cook wrote:
On Sat, Jan 12, 2019 at 7:29 AM Willy Tarreau wrote:
From: Silvio Cesare
Change snprintf to scnprintf. There are generally two cases where using
snprintf
On 3/11/2019 9:40 AM, Dmitry Vyukov wrote:
On Mon, Mar 11, 2019 at 5:20 PM 'James Smart' via syzkaller-bugs
wrote:
On 3/11/2019 6:20 AM, syzbot wrote:
syzbot has bisected this bug to:
commit 97faec531460c949d7120672b8c77e2f41f8d6d7
Author: James Smart
Date: Thu Sep 13 23:17:38 2018 +
On 3/11/2019 6:20 AM, syzbot wrote:
syzbot has bisected this bug to:
commit 97faec531460c949d7120672b8c77e2f41f8d6d7
Author: James Smart
Date: Thu Sep 13 23:17:38 2018 +
nvme_fc: add 'nvme_discovery' sysfs attribute to fc transport device
bisection log:
https
_iod *)[1];
queue->qid = qid;
queue->sqsize = sqsize;
queue->assoc = assoc;
Reviewed-by: James Smart
I guess this is a better style.
-- james
On 3/4/2019 10:21 AM, Sagi Grimberg wrote:
Forwarding to NMVE people:
kernel test robot found that
flush_work(>async_event_work) is called from nvmet_ctrl_free()
without INIT_WORK(>async_event_work, nvmet_async_event_work)
after ctrl was allocated (probably initialized with 0).
Will you make
| 2 +-
drivers/scsi/lpfc/lpfc_mbox.c| 4 ++--
drivers/scsi/lpfc/lpfc_sli.c | 2 +-
5 files changed, 8 insertions(+), 8 deletions(-)
Looks good to me.
Signed-off-by: James Smart
-- james
you'd like me to do.
-- james
Signed-off-by: James Smart
to the buffer, so the size variable will never
exceed SIZE.
Signed-off-by: Silvio Cesare
Cc: James Smart
Cc: Dick Kennedy
Cc: Dan Carpenter
Cc: Kees Cook
Cc: Will Deacon
Cc: Greg KH
Signed-off-by: Willy Tarreau
I think this needs Cc: stable.
Reviewed-by: Kees Cook
-Kees
Reviewed-by: James
On 7/19/2018 7:54 AM, Johannes Thumshirn wrote:
On Thu, Jul 19, 2018 at 04:50:05PM +0200, Christoph Hellwig wrote:
The upper layer is only going to retry after tearing down the transport
connection. And a tear down of the connection MUST clear all pending
commands on the way. If it doesn't we
On 7/19/2018 7:54 AM, Johannes Thumshirn wrote:
On Thu, Jul 19, 2018 at 04:50:05PM +0200, Christoph Hellwig wrote:
The upper layer is only going to retry after tearing down the transport
connection. And a tear down of the connection MUST clear all pending
commands on the way. If it doesn't we
On 7/19/2018 7:10 AM, Johannes Thumshirn wrote:
On Thu, Jul 19, 2018 at 03:42:03PM +0200, Christoph Hellwig wrote:
Without even looking at the code yet: why? The nvme abort isn't
very useful, and due to the lack of ordering between different
queues almost harmful on fabrics. What problem
On 7/19/2018 7:10 AM, Johannes Thumshirn wrote:
On Thu, Jul 19, 2018 at 03:42:03PM +0200, Christoph Hellwig wrote:
Without even looking at the code yet: why? The nvme abort isn't
very useful, and due to the lack of ordering between different
queues almost harmful on fabrics. What problem
/core.c b/drivers/nvme/host/core.c
index e541fe268bcf..99dd62c1076c 100644
good for the fc side...
Reviewed-by: James Smart
/core.c b/drivers/nvme/host/core.c
index e541fe268bcf..99dd62c1076c 100644
good for the fc side...
Reviewed-by: James Smart
by: Johannes Thumshirn
Cc: James Smart
---
drivers/nvme/target/fcloop.c | 52
1 file changed, 29 insertions(+), 23 deletions(-)
Looks ok. I assume it is as the bio_done call can be in an interrupt
handler.
Reviewed-by: James Smart
by: Johannes Thumshirn
Cc: James Smart
---
drivers/nvme/target/fcloop.c | 52
1 file changed, 29 insertions(+), 23 deletions(-)
Looks ok. I assume it is as the bio_done call can be in an interrupt
handler.
Reviewed-by: James Smart
,
if (!rport->targetport)
return -ECONNREFUSED;
- tfcp_req = kzalloc(sizeof(*tfcp_req), GFP_KERNEL);
+ tfcp_req = kzalloc(sizeof(*tfcp_req), GFP_ATOMIC);
if (!tfcp_req)
return -ENOMEM;
Reviewed-by: James Smart
,
if (!rport->targetport)
return -ECONNREFUSED;
- tfcp_req = kzalloc(sizeof(*tfcp_req), GFP_KERNEL);
+ tfcp_req = kzalloc(sizeof(*tfcp_req), GFP_ATOMIC);
if (!tfcp_req)
return -ENOMEM;
Reviewed-by: James Smart
On 5/31/2018 2:31 AM, Sagi Grimberg wrote:
Question, why isn't tfcp_req embedded in fcpreq? don't they have
the same lifetime?
no they don't. To properly simulate cable-pulls, etc - the host side
and controller side effectively have their own "exchange" structure.
tfcp_req corresponds
On 5/31/2018 2:31 AM, Sagi Grimberg wrote:
Question, why isn't tfcp_req embedded in fcpreq? don't they have
the same lifetime?
no they don't. To properly simulate cable-pulls, etc - the host side
and controller side effectively have their own "exchange" structure.
tfcp_req corresponds
rn("%s: %s - %s combination not found\n",
+ __func__, opts->traddr, opts->host_traddr);
return ERR_PTR(-ENOENT);
}
Signed-off-by: James Smart <james.sm...@broadcom.com>
ation not found\n",
+ __func__, opts->traddr, opts->host_traddr);
return ERR_PTR(-ENOENT);
}
Signed-off-by: James Smart
On 3/29/2018 10:02 AM, Logan Gunthorpe wrote:
Per the bug in the previous patch, I don't think that was ever a valid
assumption. It doesn't have anything to do with the sgl_alloc change
either. The dma_map interface is allowed to merge SGLs and that's why it
can return fewer nents than it was
On 3/29/2018 10:02 AM, Logan Gunthorpe wrote:
Per the bug in the previous patch, I don't think that was ever a valid
assumption. It doesn't have anything to do with the sgl_alloc change
either. The dma_map interface is allowed to merge SGLs and that's why it
can return fewer nents than it was
uest.
To do this, we drop the appearantly redundant data_sg and data_sg_cnt
members as they are identical to the existing req.sg and req.sg_cnt.
Signed-off-by: Logan Gunthorpe <log...@deltatee.com>
Cc: James Smart <james.sm...@broadcom.com>
Cc: Christoph Hellwig <h...@lst.de>
Cc: S
uest.
To do this, we drop the appearantly redundant data_sg and data_sg_cnt
members as they are identical to the existing req.sg and req.sg_cnt.
Signed-off-by: Logan Gunthorpe
Cc: James Smart
Cc: Christoph Hellwig
Cc: Sagi Grimberg
---
drivers/nvme/targ
On 3/29/2018 9:30 AM, Logan Gunthorpe wrote:
Can you elaborate? The 'data_sg_cnt' member was in 'struct
nvmet_fc_fcp_iod' which is declared in fc.c so it doesn't seem sane for
lower driver to access it... In fact the next patch in the series
removes it completely.
Logan
actually, I do think
On 3/29/2018 9:30 AM, Logan Gunthorpe wrote:
Can you elaborate? The 'data_sg_cnt' member was in 'struct
nvmet_fc_fcp_iod' which is declared in fc.c so it doesn't seem sane for
lower driver to access it... In fact the next patch in the series
removes it completely.
Logan
actually, I do think
with fewer than the total number of entries.
As odd as it sounds, and as far as I can tell, the number of SG entries
mapped does not appear to be used anywhere in the fc driver and therefore
there's no current need to store it.
Signed-off-by: Logan Gunthorpe <log...@deltatee.com>
Cc: James Smart <
with fewer than the total number of entries.
As odd as it sounds, and as far as I can tell, the number of SG entries
mapped does not appear to be used anywhere in the fc driver and therefore
there's no current need to store it.
Signed-off-by: Logan Gunthorpe
Cc: James Smart
Cc: Christoph Hellwig
Cc
nction 'lpfc_nvmet_cmd_template'
Signed-off-by: Colin Ian King <colin.k...@canonical.com>
---
drivers/scsi/lpfc/lpfc_nvme.c | 8
drivers/scsi/lpfc/lpfc_nvmet.c | 8
2 files changed, 8 insertions(+), 8 deletions(-)
Signed-off-by: James Smart <james.sm...@broadcom.com>
Ian King
---
drivers/scsi/lpfc/lpfc_nvme.c | 8
drivers/scsi/lpfc/lpfc_nvmet.c | 8
2 files changed, 8 insertions(+), 8 deletions(-)
Signed-off-by: James Smart
About to post a patch to fix. Rather than fidgeting with the copy
routine, I want to go back to what we originally proposed - writeq() on
64bit, writel() on 32-bit.
-- james
On 2/23/2018 1:02 PM, Arnd Bergmann wrote:
On Fri, Feb 23, 2018 at 4:36 PM, Arnd Bergmann wrote:
@@
About to post a patch to fix. Rather than fidgeting with the copy
routine, I want to go back to what we originally proposed - writeq() on
64bit, writel() on 32-bit.
-- james
On 2/23/2018 1:02 PM, Arnd Bergmann wrote:
On Fri, Feb 23, 2018 at 4:36 PM, Arnd Bergmann wrote:
@@ -138,12 +137,10
On 2/12/2018 10:40 AM, Sagi Grimberg wrote:
Thanks, I picked this up for 4.17 (unless someone thinks
this is 4.16-rc material?)
___
Linux-nvme mailing list
linux-n...@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
Note: I
On 2/12/2018 10:40 AM, Sagi Grimberg wrote:
Thanks, I picked this up for 4.17 (unless someone thinks
this is 4.16-rc material?)
___
Linux-nvme mailing list
linux-n...@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
Note: I
Jianchao,
This looks very coherent to me. Thank You.
-- james
On 1/18/2018 2:10 AM, Jianchao Wang wrote:
Hello
Please consider the following scenario.
nvme_reset_ctrl
-> set state to RESETTING
-> queue reset_work
(scheduling)
nvme_reset_work
-> nvme_dev_disable
->
Jianchao,
This looks very coherent to me. Thank You.
-- james
On 1/18/2018 2:10 AM, Jianchao Wang wrote:
Hello
Please consider the following scenario.
nvme_reset_ctrl
-> set state to RESETTING
-> queue reset_work
(scheduling)
nvme_reset_work
-> nvme_dev_disable
->
...
RECONNECTING - establish new queues/connections and some other
initializing things.
Introduce RECONNECTING to nvme-pci transport to do the same mark.
Then we get a coherent state definition among nvme pci/rdma/fc
transports.
Suggested-by: James Smart <james.sm...@broadcom.com>
Sign
...
RECONNECTING - establish new queues/connections and some other
initializing things.
Introduce RECONNECTING to nvme-pci transport to do the same mark.
Then we get a coherent state definition among nvme pci/rdma/fc
transports.
Suggested-by: James Smart
Signed-off-by: Jianchao Wang
Thanks jianchoa. This helped.
On 1/17/2018 7:13 PM, jianchao.wang wrote:
Actually, this patchset is to fix a issue in nvme_timeout.
Please consider the following scenario.
nvme_reset_ctrl
-> set state to RESETTING
-> queue reset_work
(scheduling)
Thanks jianchoa. This helped.
On 1/17/2018 7:13 PM, jianchao.wang wrote:
Actually, this patchset is to fix a issue in nvme_timeout.
Please consider the following scenario.
nvme_reset_ctrl
-> set state to RESETTING
-> queue reset_work
(scheduling)
I'm having a hard time following why this patch is being requested. Help
me catch on.
On 1/16/2018 8:54 PM, Jianchao Wang wrote:
Currently, the ctrl->state will be changed to NVME_CTRL_RESETTING
before queue the reset work. This is not so strict. There could be
a big gap before the
I'm having a hard time following why this patch is being requested. Help
me catch on.
On 1/16/2018 8:54 PM, Jianchao Wang wrote:
Currently, the ctrl->state will be changed to NVME_CTRL_RESETTING
before queue the reset work. This is not so strict. There could be
a big gap before the
On 1/17/2018 2:37 AM, Sagi Grimberg wrote:
After Sagi's nvme-rdma: fix concurrent reset and reconnect, the rdma
ctrl state is changed to RECONNECTING state
after some clearing and shutdown work, then some initializing
procedure, no matter reset work path or error recovery path.
The fc reset
On 1/17/2018 2:37 AM, Sagi Grimberg wrote:
After Sagi's nvme-rdma: fix concurrent reset and reconnect, the rdma
ctrl state is changed to RECONNECTING state
after some clearing and shutdown work, then some initializing
procedure, no matter reset work path or error recovery path.
The fc reset
On 12/1/2017 12:34 AM, Johannes Thumshirn wrote:
James Smart <james.sm...@broadcom.com> writes:
On 11/30/2017 7:12 AM, Johannes Thumshirn wrote:
One major usability difference between NVMf RDMA and FC is resolving
the default host transport address in RDMA. This is perfectly doable
On 12/1/2017 12:34 AM, Johannes Thumshirn wrote:
James Smart writes:
On 11/30/2017 7:12 AM, Johannes Thumshirn wrote:
One major usability difference between NVMf RDMA and FC is resolving
the default host transport address in RDMA. This is perfectly doable
in FC as well, as we already have
n pick the first lport that has a
connection to our desired rport per default or optionally use the user
supplied lport if we have one.
Signed-off-by: Johannes Thumshirn <jthumsh...@suse.de>
Cc: James Smart <james.sm...@broadcom.com>
This is unnecessary and can create weird configur
n pick the first lport that has a
connection to our desired rport per default or optionally use the user
supplied lport if we have one.
Signed-off-by: Johannes Thumshirn
Cc: James Smart
This is unnecessary and can create weird configurations. It assumes
connections are manually created. The wei
f(struct lpfc_debugfs_nvmeio_trc) *
- phba->nvmeio_trc_size));
phba->nvmeio_trc_on = 1;
phba->nvmeio_trc_output_idx = 0;
phba->nvmeio_trc = NULL;
looks good.
Signed-off-by: James Smart <james.sm...@broadcom.com>
vmeio_trc) *
- phba->nvmeio_trc_size));
phba->nvmeio_trc_on = 1;
phba->nvmeio_trc_output_idx = 0;
phba->nvmeio_trc = NULL;
looks good.
Signed-off-by: James Smart
On 9/20/2017 11:15 PM, Thomas Meyer wrote:
Use *_pool_zalloc rather than *_pool_alloc followed by memset with 0.
Found by coccinelle spatch "api/alloc/pool_zalloc-simple.cocci"
Signed-off-by: Thomas Meyer <tho...@m3y3r.de>
---
Looks good. Thanks.
Signed-off-by: James
On 9/20/2017 11:15 PM, Thomas Meyer wrote:
Use *_pool_zalloc rather than *_pool_alloc followed by memset with 0.
Found by coccinelle spatch "api/alloc/pool_zalloc-simple.cocci"
Signed-off-by: Thomas Meyer
---
Looks good. Thanks.
Signed-off-by: James Smart
ot;)
Signed-off-by: Colin Ian King <colin.k...@canonical.com>
Yep. thank you
Signed-off-by: James Smart <james.sm...@broadcom.com>
ng
Yep. thank you
Signed-off-by: James Smart
,
then I'll submit that as a proper patch with your Ack.
Signed-off-by: Arnd Bergmann <a...@arndb.de>
--- a/drivers/scsi/lpfc/lpfc_debugfs.h
I'm ok with either solution. I prefer less change but this is a trivial
thing.
Signed-off-by: James Smart <james.sm...@broadcom.com>
-- james
,
then I'll submit that as a proper patch with your Ack.
Signed-off-by: Arnd Bergmann
--- a/drivers/scsi/lpfc/lpfc_debugfs.h
I'm ok with either solution. I prefer less change but this is a trivial
thing.
Signed-off-by: James Smart
-- james
not a have a
value.
I believe, simply initializing with a NULL will solve the issue.
Signed-off-by: James Smart <james.sm...@broadcom.com>
---
drivers/scsi/lpfc/lpfc_debugfs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_debugfs.h b/driver
not a have a
value.
I believe, simply initializing with a NULL will solve the issue.
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_debugfs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_debugfs.h b/drivers/scsi/lpfc/lpfc_debugfs.h
looks good. Thanks
Signed-off-by: James Smart <james.sm...@broadcom.com>
-- james
nks
Signed-off-by: James Smart
-- james
ust...@embeddedor.com>
---
This issue was detected by Coverity and it was tested by compilation only.
Notice that this code has been there since 2011.
drivers/scsi/lpfc/lpfc_bsg.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
looks good. Thanks
Signed-off-by: James Smart <
---
This issue was detected by Coverity and it was tested by compilation only.
Notice that this code has been there since 2011.
drivers/scsi/lpfc/lpfc_bsg.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
looks good. Thanks
Signed-off-by: James Smart
-- james
1 - 100 of 303 matches
Mail list logo