Netdev Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH v2] qed: Fix null-pointer dereference in qed_rdma_create_qp()
@ 2021-08-15 11:06 Shai Malin
2021-08-16 10:30 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Shai Malin @ 2021-08-15 11:06 UTC (permalink / raw)
To: netdev, davem, kuba; +Cc: islituo, aelior, smalin, malin1024
Fix a possible null-pointer dereference in qed_rdma_create_qp().
Changes from V2:
- Revert checkpatch fixes.
Reported-by: TOTE Robot <oslab@tsinghua.edu.cn>
Signed-off-by: Ariel Elior <aelior@marvell.com>
Signed-off-by: Shai Malin <smalin@marvell.com>
---
drivers/net/ethernet/qlogic/qed/qed_rdma.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/qlogic/qed/qed_rdma.c b/drivers/net/ethernet/qlogic/qed/qed_rdma.c
index da864d12916b..4f4b79250a2b 100644
--- a/drivers/net/ethernet/qlogic/qed/qed_rdma.c
+++ b/drivers/net/ethernet/qlogic/qed/qed_rdma.c
@@ -1285,8 +1285,7 @@ qed_rdma_create_qp(void *rdma_cxt,
if (!rdma_cxt || !in_params || !out_params ||
!p_hwfn->p_rdma_info->active) {
- DP_ERR(p_hwfn->cdev,
- "qed roce create qp failed due to NULL entry (rdma_cxt=%p, in=%p, out=%p, roce_info=?\n",
+ pr_err("qed roce create qp failed due to NULL entry (rdma_cxt=%p, in=%p, out=%p, roce_info=?\n",
rdma_cxt, in_params, out_params);
return NULL;
}
--
2.22.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] qed: Fix null-pointer dereference in qed_rdma_create_qp()
2021-08-15 11:06 [PATCH v2] qed: Fix null-pointer dereference in qed_rdma_create_qp() Shai Malin
@ 2021-08-16 10:30 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-08-16 10:30 UTC (permalink / raw)
To: Shai Malin; +Cc: netdev, davem, kuba, islituo, aelior, malin1024
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Sun, 15 Aug 2021 14:06:39 +0300 you wrote:
> Fix a possible null-pointer dereference in qed_rdma_create_qp().
>
> Changes from V2:
> - Revert checkpatch fixes.
>
> Reported-by: TOTE Robot <oslab@tsinghua.edu.cn>
> Signed-off-by: Ariel Elior <aelior@marvell.com>
> Signed-off-by: Shai Malin <smalin@marvell.com>
>
> [...]
Here is the summary with links:
- [v2] qed: Fix null-pointer dereference in qed_rdma_create_qp()
https://git.kernel.org/netdev/net/c/d33d19d313d3
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-08-16 10:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-15 11:06 [PATCH v2] qed: Fix null-pointer dereference in qed_rdma_create_qp() Shai Malin
2021-08-16 10:30 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).