On Wed, 17 Dec 2014, Andrey Ryabinin wrote: > 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 <a.ryabinin@xxxxxxxxxxx> Acked-by: David Rientjes <rientjes@xxxxxxxxxx> -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>