Re: [PATCH] selftests: kvm: Fix -Wformat warnings

2018-10-16 Thread Shuah Khan
On 10/16/2018 08:13 AM, Andrea Parri wrote: > Fixes the following warnings: > > dirty_log_test.c: In function ‘help’: > dirty_log_test.c:216:9: warning: format ‘%lu’ expects argument of type ‘long > unsigned int’, but argument 2 has type ‘int’ [-Wformat=] > printf(" -i: specify iteration

Re: [PATCH] selftests: kvm: Fix -Wformat warnings

2018-10-16 Thread Shuah Khan
On 10/16/2018 08:13 AM, Andrea Parri wrote: > Fixes the following warnings: > > dirty_log_test.c: In function ‘help’: > dirty_log_test.c:216:9: warning: format ‘%lu’ expects argument of type ‘long > unsigned int’, but argument 2 has type ‘int’ [-Wformat=] > printf(" -i: specify iteration

[PATCH] selftests: kvm: Fix -Wformat warnings

2018-10-16 Thread Andrea Parri
Fixes the following warnings: dirty_log_test.c: In function ‘help’: dirty_log_test.c:216:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] printf(" -i: specify iteration counts (default: %"PRIu64")\n",

[PATCH] selftests: kvm: Fix -Wformat warnings

2018-10-16 Thread Andrea Parri
Fixes the following warnings: dirty_log_test.c: In function ‘help’: dirty_log_test.c:216:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] printf(" -i: specify iteration counts (default: %"PRIu64")\n",