Skip to content

Commit 4e241d7

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 1fc7768 commit 4e241d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/time/posix-timers.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ static __init int init_posix_timers(void)
344344
posix_timers_register_clock(CLOCK_TAI, &clock_tai);
345345

346346
posix_timers_cache = kmem_cache_create("posix_timers_cache",
347-
sizeof (struct k_itimer), 0,
347+
sizeof(struct k_itimer), 0,
348348
SLAB_PANIC, NULL);
349349
return 0;
350350
}

0 commit comments

Comments
 (0)