2012.12.11. 18:25 keltezéssel, Gabor Juhos írta: > Due to my recent commit (ath9k: allow to load EEPROM > content via firmware API) smatch complains about that > the 'pdata' variable in 'ath9k_hw_init' can be NULL > and it is dereferenced before checking that. That is > absolutely correct. > > Check the 'pdata' variable before using it to avoid > a NULL pointer dereference. Oops, sent an old patch again instead of the rt2x00 one. Sorry. -Gabor -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html