zephyr/kernel/microkernel
Yonattan Louise 63e3a4e772 Fix checkpatch issue - ERROR:ELSE_AFTER_BRACE
The 'else' statement should be in the same line that the
close brace of the 'if' statement. E.g.:

	if (condition) {
		do_this();
		do_that();
	} else {
		otherwise();
	}

This commit fixed this kind of error using the following script:

	#!/bin/bash

	for file in $(find ./ -name "*.[ch]" ! -path "./scripts/*" ! -path "./host/src/wrsconfig/*");
	do
		if [ ! -h $file ];
		then
			sed -i '/^[ \t]*}$/ {
	:review_next_one_too
	N
	s/^\(.*\)\n[ \t]*else/\1 else/
	/}$/ b review_next_one_too
	}' $file;

		fi;
	done

Change-Id: I7e811a572d735fa08e84850055ebbde29eb10e8d
Signed-off-by: Yonattan Louise <yonattan.a.louise.mendoza@intel.com>
2016-02-05 20:13:59 -05:00
..
channel Fix checkpatch issue - ERROR:ELSE_AFTER_BRACE 2016-02-05 20:13:59 -05:00
include Eliminate _Cput and _Cpsh APIs 2016-02-05 20:13:59 -05:00
cmdPkt.c Rename cmdpacket to cmd_packet 2016-02-05 20:13:53 -05:00
defs.objs Eliminate microkernel/movedata sub-directory 2016-02-05 20:13:51 -05:00
global.c Fix checkpatch issue - WARNING:LONG_LINE 2016-02-05 20:13:59 -05:00
idle.c Fix coding style issues. 2016-02-05 20:13:59 -05:00
k_event.c Rename hidden TICKLESS_KERNEL config option to SYS_CLOCK_EXISTS 2016-02-05 20:13:55 -05:00
k_irq.c Allow task IRQ code to support tickless kernel 2016-02-05 20:13:49 -05:00
k_mbox.c Rename hidden TICKLESS_KERNEL config option to SYS_CLOCK_EXISTS 2016-02-05 20:13:55 -05:00
k_memmap.c Rename hidden TICKLESS_KERNEL config option to SYS_CLOCK_EXISTS 2016-02-05 20:13:55 -05:00
k_mempool.c Fix coding style of control statements 2016-02-05 20:13:59 -05:00
k_mutex.c Rename hidden TICKLESS_KERNEL config option to SYS_CLOCK_EXISTS 2016-02-05 20:13:55 -05:00
k_nop.c Renaming K_nop to _k_nop 2016-02-05 20:13:48 -05:00
k_offload.c Renaming K_offload to _k_offload_to_fiber 2016-02-05 20:13:48 -05:00
k_queue.c Rename hidden TICKLESS_KERNEL config option to SYS_CLOCK_EXISTS 2016-02-05 20:13:55 -05:00
k_sema.c Fix checkpatch issue - ERROR:ELSE_AFTER_BRACE 2016-02-05 20:13:59 -05:00
k_task.c Consolidate (most) microkernel non-public API declarations 2016-02-05 20:13:55 -05:00
k_timer.c Fix checkpatch issue - ERROR:ELSE_AFTER_BRACE 2016-02-05 20:13:59 -05:00
movedata.c Delete unnecessary kmemcpy.h file 2016-02-05 20:13:55 -05:00
server.c Continue limiting exposure of microkernel APIs needed by sysgen 2016-02-05 20:13:55 -05:00
task_monitor.c Fix checkpatch issue - ERROR:ELSE_AFTER_BRACE 2016-02-05 20:13:59 -05:00
ticker.c Rename hidden TICKLESS_KERNEL config option to SYS_CLOCK_EXISTS 2016-02-05 20:13:55 -05:00