projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'acpi-4.9-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael...
[cascardo/linux.git]
/
ipc
/
msgutil.c
diff --git
a/ipc/msgutil.c
b/ipc/msgutil.c
index
a521999
..
bf74eaa
100644
(file)
--- a/
ipc/msgutil.c
+++ b/
ipc/msgutil.c
@@
-53,7
+53,7
@@
static struct msg_msg *alloc_msg(size_t len)
size_t alen;
alen = min(len, DATALEN_MSG);
size_t alen;
alen = min(len, DATALEN_MSG);
- msg = kmalloc(sizeof(*msg) + alen, GFP_KERNEL);
+ msg = kmalloc(sizeof(*msg) + alen, GFP_KERNEL
_ACCOUNT
);
if (msg == NULL)
return NULL;
if (msg == NULL)
return NULL;
@@
-65,7
+65,7
@@
static struct msg_msg *alloc_msg(size_t len)
while (len > 0) {
struct msg_msgseg *seg;
alen = min(len, DATALEN_SEG);
while (len > 0) {
struct msg_msgseg *seg;
alen = min(len, DATALEN_SEG);
- seg = kmalloc(sizeof(*seg) + alen, GFP_KERNEL);
+ seg = kmalloc(sizeof(*seg) + alen, GFP_KERNEL
_ACCOUNT
);
if (seg == NULL)
goto out_err;
*pseg = seg;
if (seg == NULL)
goto out_err;
*pseg = seg;