cnic: Fixed double assignment to ictx->xstorm_st_context.common.flags
Subsystems (2)
PATCH 1/1 cnic: Fixed double assignment to ictx->xstorm_st_context.common.flags
Reported-by Colin Ian King <[email protected]>
drivers/net/ethernet/broadcom/cnic.c +1 -1
@@ -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 ;
Signature · 1 line
2.18.2