diff options
author | Andrey Ryabinin <[email protected]> | 2015-02-10 14:11:36 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2015-02-10 14:30:34 -0800 |
commit | 753162cd849c45580fb5aaa7f3597c81e74e391c (patch) | |
tree | 0f2980f160767215bcfb4d68b6a1db957c56cd7f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3cd7645de624939c38f5124b4ac15f8b35a1a8b7 (diff) |
mm: hugetlb: fix type of hugetlb_treat_as_movable variable
hugetlb_treat_as_movable declared as unsigned long, but
proc_dointvec() used for parsing it:
static struct ctl_table vm_table[] = {
...
{
.procname = "hugepages_treat_as_movable",
.data = &hugepages_treat_as_movable,
.maxlen = sizeof(int),
.mode = 0644,
.proc_handler = proc_dointvec,
},
This seems harmless, but it's better to use int type here.
Signed-off-by: Andrey Ryabinin <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Cc: Manfred Spraul <[email protected]>
Acked-by: David Rientjes <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions