Skip to content

Commit 7be8872

Browse files
aescolarkartben
authored andcommitted
tests/kernel: Fix code compliance issues
Fix issues detected by checkpatch Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
1 parent 5d31bce commit 7be8872

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

tests/kernel/common/src/clock.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,5 +240,5 @@ ZTEST(clock, test_ms_time_duration)
240240
* @}
241241
*/
242242

243-
extern void *common_setup(void);
244-
ZTEST_SUITE(clock, NULL, common_setup, NULL, NULL, NULL);
243+
extern void *common_setup(void);
244+
ZTEST_SUITE(clock, NULL, common_setup, NULL, NULL, NULL);

tests/kernel/common/src/constructor.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,5 @@ ZTEST(constructor, test_constructor)
5959
* @}
6060
*/
6161

62-
extern void *common_setup(void);
63-
ZTEST_SUITE(constructor, NULL, common_setup, NULL, NULL, NULL);
62+
extern void *common_setup(void);
63+
ZTEST_SUITE(constructor, NULL, common_setup, NULL, NULL, NULL);

tests/kernel/events/event_api/src/test_event_apis.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ static void entry_extra2(void *p1, void *p2, void *p3)
4747
k_event_post(&test_event, events);
4848
}
4949
/**
50-
* @ingroup kernel_event_tests
51-
* @{
52-
*/
50+
* @ingroup kernel_event_tests
51+
* @{
52+
*/
5353

5454
/**
5555
* Test the k_event_init() API.

0 commit comments

Comments
 (0)