2f8514b8b0
What about if "rtlphy->pwrgroup_cnt" is 2? In that case we would use an uninitialized "chnlgroup" variable and probably crash. Maybe that can't happen for some reason which is not obvious but in that case this patch is harmless. Setting it to zero seems like a standard default in the surrounding code so it's probably fine here as well. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> |
||
---|---|---|
.. | ||
Makefile | ||
def.h | ||
dm.c | ||
dm.h | ||
fw.c | ||
fw.h | ||
hw.c | ||
hw.h | ||
led.c | ||
led.h | ||
phy.c | ||
phy.h | ||
reg.h | ||
rf.c | ||
rf.h | ||
sw.c | ||
sw.h | ||
table.c | ||
table.h | ||
trx.c | ||
trx.h |