All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cnic: Fixed double assignment to ictx->xstorm_st_context.common.flags
@ 2021-05-17  8:49 Javed Hasan
  0 siblings, 0 replies; only message in thread
From: Javed Hasan @ 2021-05-17  8:49 UTC (permalink / raw)
  To: davem; +Cc: netdev, GR-QLogic-Storage-Upstream, jhasan

	Reported-by: Colin Ian King <colin.king@canonical.com>

diff --git a/drivers/net/ethernet/broadcom/cnic.c b/drivers/net/ethernet/broadcom/cnic.c
index f7f10cfb3476..d2e8421cc629 100644
--- a/drivers/net/ethernet/broadcom/cnic.c
+++ b/drivers/net/ethernet/broadcom/cnic.c
@@ -1760,7 +1760,7 @@ static int cnic_setup_bnx2x_ctx(struct cnic_dev *dev, struct kwqe *wqes[],
 	}
 	ictx->xstorm_st_context.common.flags =
 		1 << XSTORM_COMMON_CONTEXT_SECTION_PHYSQ_INITIALIZED_SHIFT;
-	ictx->xstorm_st_context.common.flags =
+	ictx->xstorm_st_context.common.flags |=
 		port << XSTORM_COMMON_CONTEXT_SECTION_PBF_PORT_SHIFT;
 
 	ictx->tstorm_st_context.iscsi.hdr_bytes_2_fetch = ISCSI_HEADER_SIZE;
-- 
2.18.2


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-17  8:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-17  8:49 [PATCH] cnic: Fixed double assignment to ictx->xstorm_st_context.common.flags Javed Hasan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.