Hello there,
drivers/net/wireless/mac80211_hwsim.c:2152:59: warning: loop exit may only be
reached after undefined behavior [-Waggressive-loop-optimizations]
Source code is
for (i = 0; hwsim_world_regdom_custom[i] != param->regd &&
i < ARRAY_SIZE(hwsim_world_regdom_custom); i++)
;
Suggest sanity check i against ARRAY_SIZE *before* using it to index
hwsim_world_regdom_custom
Regards
David Binderman
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html