arch/x86/kernel/cpu/mtrr/cleanup.c:197: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long unsigned int’
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Cc: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <
1237378015.13488.1.camel@localhost.localdomain>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
                       unsigned long extra_remove_base,
                       unsigned long extra_remove_size)
 {
-       unsigned long i, base, size;
+       unsigned long base, size;
        mtrr_type type;
+       int i;
 
        for (i = 0; i < num_var_ranges; i++) {
                type = range_state[i].type;