projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
enic: assign affinity hint to interrupts
[cascardo/linux.git]
/
mm
/
cma.c
diff --git
a/mm/cma.c
b/mm/cma.c
index
e7d1db5
..
4eb56ba
100644
(file)
--- a/
mm/cma.c
+++ b/
mm/cma.c
@@
-361,7
+361,7
@@
err:
* This function allocates part of contiguous memory on specific
* contiguous memory area.
*/
* This function allocates part of contiguous memory on specific
* contiguous memory area.
*/
-struct page *cma_alloc(struct cma *cma,
unsigned in
t count, unsigned int align)
+struct page *cma_alloc(struct cma *cma,
size_
t count, unsigned int align)
{
unsigned long mask, offset, pfn, start = 0;
unsigned long bitmap_maxno, bitmap_no, bitmap_count;
{
unsigned long mask, offset, pfn, start = 0;
unsigned long bitmap_maxno, bitmap_no, bitmap_count;
@@
-371,7
+371,7
@@
struct page *cma_alloc(struct cma *cma, unsigned int count, unsigned int align)
if (!cma || !cma->count)
return NULL;
if (!cma || !cma->count)
return NULL;
- pr_debug("%s(cma %p, count %
d
, align %d)\n", __func__, (void *)cma,
+ pr_debug("%s(cma %p, count %
zu
, align %d)\n", __func__, (void *)cma,
count, align);
if (!count)
count, align);
if (!count)