From: Abdul Rauf Date: Wed, 11 Jan 2017 01:29:36 +0000 (+0000) Subject: staging: greybus: loopback_test: fix checkpatch bad function definition error X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cbd8733cfd4d3a15b02fe5c8986f35cd75ab66ef;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: greybus: loopback_test: fix checkpatch bad function definition error Fix the following Errors: Bad function definition - void abort() should probably be void abort(void) Signed-off-by: Abdul Rauf Acked-by: Viresh Kumar Acked-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/tools/loopback_test.c b/drivers/staging/greybus/tools/loopback_test.c index f7f4cd6fb55b..5312b2aa32f1 100644 --- a/drivers/staging/greybus/tools/loopback_test.c +++ b/drivers/staging/greybus/tools/loopback_test.c @@ -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); }