HomeFreeBSD

MFC r285340:

Description

MFC r285340:

Fix swapped copyin(9) arguments in cxgb's iwch_arm_cq() function.
Detected by clang 3.7.0 with the warning:

sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_provider.c:309:18: error: variable
'rptr' is uninitialized when used here [-Werror,-Wuninitialized]

		chp->cq.rptr = rptr;
			       ^~~~

Details

Provenance
dimAuthored on
Parents
rS285941: Merge r283061, r283063: don't dereference NULL is pf_get_mtag() fails.
Branches
Unknown
Tags
Unknown