diff options
author | David S. Miller <davem@davemloft.net> | 2019-08-06 21:44:57 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-06 21:44:57 -0400 |
commit | 13dfb3fa494361ea9a5950f27c9cd8b06d28c04f (patch) | |
tree | 1bf30874f57c6c6b21160a10282191fcd0868055 /lib/test_meminit.c | |
parent | 05bb520376af2c5146d3c44832c22ec3bb54d778 (diff) | |
parent | 33920f1ec5bf47c5c0a1d2113989bdd9dfb3fae9 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Just minor overlapping changes in the conflicts here.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/test_meminit.c')
-rw-r--r-- | lib/test_meminit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/test_meminit.c b/lib/test_meminit.c index 62d19f270cad..9729f271d150 100644 --- a/lib/test_meminit.c +++ b/lib/test_meminit.c | |||
@@ -222,7 +222,7 @@ static int __init do_kmem_cache_size(size_t size, bool want_ctor, | |||
222 | * Copy the buffer to check that it's not wiped on | 222 | * Copy the buffer to check that it's not wiped on |
223 | * free(). | 223 | * free(). |
224 | */ | 224 | */ |
225 | buf_copy = kmalloc(size, GFP_KERNEL); | 225 | buf_copy = kmalloc(size, GFP_ATOMIC); |
226 | if (buf_copy) | 226 | if (buf_copy) |
227 | memcpy(buf_copy, buf, size); | 227 | memcpy(buf_copy, buf, size); |
228 | 228 | ||