]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kernel-posix-timersc-code-clean-up-checkpatch-fixes
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 14 May 2014 00:01:21 +0000 (10:01 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 14 May 2014 00:01:21 +0000 (10:01 +1000)
commitdde974deb44951845f1f9112fdb937ac1ba07bbd
treec4a56dcf4b360dcdbc66a1594c3f3d10d8295d06
parent51ddca8212071fb1bc3a3764ec102bff51a33e3d
kernel-posix-timersc-code-clean-up-checkpatch-fixes

WARNING: space prohibited between function name and open parenthesis '('
#55: FILE: kernel/posix-timers.c:345:
+        sizeof (struct k_itimer), 0,

ERROR: do not use assignment in if condition
#70: FILE: kernel/posix-timers.c:504:
+ if ((event->sigev_notify & SIGEV_THREAD_ID) &&

total: 1 errors, 1 warnings, 192 lines checked

./patches/kernel-posix-timersc-code-clean-up.patch has style problems, please review.

If any of these errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.

Please run checkpatch prior to sending patches

Cc: Fabian Frederick <fabf@skynet.be>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/posix-timers.c