zephyr/kernel/microkernel/channel
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
..
InitChan.c Consolidate (most) microkernel non-public API declarations 2016-02-05 20:13:55 -05:00
KS_ChGet.c Rename K_Task to _k_current_task 2016-02-05 20:13:43 -05:00
KS_ChPtA.c Rename K_Task to _k_current_task 2016-02-05 20:13:43 -05:00
KS_ChPut.c Rename K_Task to _k_current_task 2016-02-05 20:13:43 -05:00
KS_Chan.c Remove references to host server channels 2016-02-05 20:13:42 -05:00
K_ChGAck.c Consolidate (most) microkernel non-public API declarations 2016-02-05 20:13:55 -05:00
K_ChGReq.c Consolidate (most) microkernel non-public API declarations 2016-02-05 20:13:55 -05:00
K_ChGRpl.c Consolidate (most) microkernel non-public API declarations 2016-02-05 20:13:55 -05:00
K_ChGTmo.c Consolidate (most) microkernel non-public API declarations 2016-02-05 20:13:55 -05:00
K_ChPAck.c Consolidate (most) microkernel non-public API declarations 2016-02-05 20:13:55 -05:00
K_ChPReq.c Consolidate (most) microkernel non-public API declarations 2016-02-05 20:13:55 -05:00
K_ChPRpl.c Consolidate (most) microkernel non-public API declarations 2016-02-05 20:13:55 -05:00
K_ChPTmo.c Consolidate (most) microkernel non-public API declarations 2016-02-05 20:13:55 -05:00
K_ChProc.c Fix checkpatch issue - WARNING:LONG_LINE 2016-02-05 20:13:59 -05:00
K_Ch_Mvd.c Consolidate (most) microkernel non-public API declarations 2016-02-05 20:13:55 -05:00
K_Ch_RO.c Consolidate (most) microkernel non-public API declarations 2016-02-05 20:13:55 -05:00
K_Ch_WO.c Consolidate (most) microkernel non-public API declarations 2016-02-05 20:13:55 -05:00
K_Ch_WR.c Consolidate (most) microkernel non-public API declarations 2016-02-05 20:13:55 -05:00
ch_addit.c Eliminate unnecessary K_TIMER type 2016-02-05 20:13:55 -05:00
ch_buff.c Fix checkpatch issue - ERROR:ELSE_AFTER_BRACE 2016-02-05 20:13:59 -05:00
ch_buffm.c Use <> for include files instead of "" 2016-02-05 20:13:41 -05:00