Skip to content
This repository has been archived by the owner on Jan 12, 2021. It is now read-only.

Commit

Permalink
kernel-posix-timersc-code-clean-up-checkpatch-fixes
Browse files Browse the repository at this point in the history
WARNING: space prohibited between function name and open parenthesis '('
torvalds#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 <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
  • Loading branch information
akpm00 authored and sfrothwell committed Jul 29, 2014
1 parent 809bd59 commit 1386c4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/time/posix-timers.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ static __init int init_posix_timers(void)
posix_timers_register_clock(CLOCK_TAI, &clock_tai);

posix_timers_cache = kmem_cache_create("posix_timers_cache",
sizeof (struct k_itimer), 0,
sizeof(struct k_itimer), 0,
SLAB_PANIC, NULL);
return 0;
}
Expand Down

0 comments on commit 1386c4d

Please sign in to comment.