mac80211: Use setup_timer instead of init_timer
[sfrench/cifs-2.6.git] / lib / prime_numbers.c
index c9b3c29614aa766a81e1ba26da71c447ea8e12d4..550eec457c2edb45ba21fa6d5a40dd13663ddf0b 100644 (file)
@@ -124,7 +124,8 @@ static bool expand_to_next_prime(unsigned long x)
                return false;
 
        sz = round_up(sz, BITS_PER_LONG);
-       new = kmalloc(sizeof(*new) + bitmap_size(sz), GFP_KERNEL);
+       new = kmalloc(sizeof(*new) + bitmap_size(sz),
+                     GFP_KERNEL | __GFP_NOWARN);
        if (!new)
                return false;