Skip to content

Commit d01da6b

Browse files
akpm00sfrothwell
authored andcommitted
kernel-posix-timersc-code-clean-up-checkpatch-fixes
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]>
1 parent 2772427 commit d01da6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: kernel/time/posix-timers.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ static __init int init_posix_timers(void)
342342
posix_timers_register_clock(CLOCK_TAI, &clock_tai);
343343

344344
posix_timers_cache = kmem_cache_create("posix_timers_cache",
345-
sizeof (struct k_itimer), 0,
345+
sizeof(struct k_itimer), 0,
346346
SLAB_PANIC, NULL);
347347
return 0;
348348
}

0 commit comments

Comments
 (0)