From f0cd147e61f2b840b0687a407c2652687532644e Mon Sep 17 00:00:00 2001 From: Mahesh Khanwalkar Date: Sat, 13 Feb 2016 19:05:31 -0500 Subject: Documentation: Fix int/unsigned int comparison Signed int - unsigned int comparison fixed in mpssd, prctl, ptp, and timers in Documentation. In places where 'int argc' and 'const char **argv' are not used, they are replaced with void Documentation/mic/mpssd/mpssd.c: Fixed comparison in sum_iovec_len and disp_iovec Documentation/prctl/disable-tsc-ctxt-sw-stress-test.c: main signature changed to void, as parameters 'argc' and 'argv' are never used Documentation/prctl/disable-tsc-on-off-stress-test.c: main signature changed to void Documentation/prctl/disable-tsc-test.c: main signature changed to void Documentation/ptp/testptp.c: Sign comparison fix Documentation/timers/hpet_example.c: Sign comparision fix Signed-off-by: Mahesh Khanwalkar Signed-off-by: Jonathan Corbet --- Documentation/timers/hpet_example.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Documentation/timers') diff --git a/Documentation/timers/hpet_example.c b/Documentation/timers/hpet_example.c index 9a3e7012c190..3ab4993d85e0 100644 --- a/Documentation/timers/hpet_example.c +++ b/Documentation/timers/hpet_example.c @@ -49,7 +49,7 @@ struct hpet_command { int main(int argc, const char ** argv) { - int i; + unsigned int i; argc--; argv++; -- cgit v1.2.3-59-g8ed1b