Home
last modified time | relevance | path

Searched hist:a065784620a2b78a2bbd00e066c004644d227ea8 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/net/wireless/ath/ath5k/
H A Deeprom.cdiff a065784620a2b78a2bbd00e066c004644d227ea8 Fri Apr 08 21:33:12 CEST 2011 John W. Linville <linville@tuxdriver.com> ath5k: improve pcal error handling for ENOMEM case

The ath5k driver does kmalloc allocations for pcal info in a loop.
But, if one fails it was simply returning -ENOMEM without freeing
already allocated memory. This patch corrects that oversight.

Reported-by: Eugene A. Shatokhin <dame_eugene@mail.ru>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Reviewed-by: Bob Copeland <me@bobcopeland.com>