On Thu, 2010-02-04 at 12:23 +0100, Rafał Miłecki wrote: > + u32 *data; > + > + data = kzalloc(len * sizeof(u32), GFP_KERNEL); > + > + if (nphy->hang_avoid) > + b43_nphy_stay_in_carrier_search(dev, 1); > + > + for (i = 0; i < len; i++) { > + data[i] = (samples[i].i & 0x3FF << 10); Humm. Allocations can fail, you know :) johannes
Attachment:
signature.asc
Description: This is a digitally signed message part