staging: greybus: loopback_test: fix checkpatch bad function definition error
authorAbdul Rauf <abdulraufmujahid@gmail.com>
Wed, 11 Jan 2017 01:29:36 +0000 (01:29 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Jan 2017 17:08:56 +0000 (18:08 +0100)
Fix the following Errors:
Bad function definition - void abort() should probably be void abort(void)

Signed-off-by: Abdul Rauf <abdulraufmujahid@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/tools/loopback_test.c

index f7f4cd6fb55b3ddbc9865588f4ca659a7f53d412..5312b2aa32f1f213f1ace0ed348e503df7eea82a 100644 (file)
@@ -168,7 +168,7 @@ GET_AVG(latency_avg);
 GET_AVG(apbridge_unipro_latency_avg);
 GET_AVG(gbphy_firmware_latency_avg);
 
-void abort()
+void abort(void)
 {
        _exit(1);
 }