Fix whitespace issues

Fixing the folling whitespace issues:

- SPACE_BEFORE_TAB : We should not use white spaces before tabs to alignment.
- TRAILING_WHITESPACE : Lines should not end with a white space.
- QUOTED_WHITESPACE_BEFORE_NEWLINE : Removing unnecessary whitespace before a quoted newline.

Change-Id: I024e8d39164c5e5e9d8370f3499d21b49147feee
Signed-off-by: Yonattan Louise <yonattan.a.louise.mendoza@intel.com>
This commit is contained in:
Yonattan Louise 2015-05-15 14:23:47 -05:00 committed by Anas Nashif
commit 5f9042e6c1
7 changed files with 9 additions and 9 deletions

View file

@ -323,7 +323,7 @@ void _sys_power_save_idle(int32_t ticks)
if ((ticks == TICKS_UNLIMITED) || ticks >= _sys_idle_threshold_ticks) {
/*
* Stop generating system timer interrupts until it's time for
* the next scheduled microkernel timer to expire.
* the next scheduled microkernel timer to expire.
*/
_timer_idle_enter(ticks);

View file

@ -32,7 +32,7 @@
/*
DESCRIPTION
This module provides the VxMicro nanokernel (aka system-level) 'fifo'
This module provides the VxMicro nanokernel (aka system-level) 'fifo'
implementation. This module provides the backing implementation for the
following APIs:

View file

@ -33,7 +33,7 @@
#ifndef MESSAGE_H
#define MESSAGE_H
#define MESSAGE_SIZE 8192
#define MESSAGE_SIZE_PIPE 4096 /* must be smaller than MESSAGE_SIZE */
#define MESSAGE_SIZE 8192
#define MESSAGE_SIZE_PIPE 4096 /* must be smaller than MESSAGE_SIZE */
#endif

View file

@ -70,7 +70,7 @@ void MainTask(void)
/* now we check the first task to perform the test and die */
result = task_sem_take_wait_timeout(SEMA1, WAIT_TOUT);
if (result == RC_TIME) {
TC_PRINT("As expected, test task 1 did not continue operating \n");
TC_PRINT("As expected, test task 1 did not continue operating\n");
TC_PRINT("after calling memcpy_s with incorrect parameters\n");
} else {
TC_ERROR("Test task 1 unexpectedly continued\n"
@ -88,7 +88,7 @@ void MainTask(void)
/* now we check the second task to perform the test and die */
result = task_sem_take_wait_timeout(SEMA2, WAIT_TOUT);
if (result == RC_TIME) {
TC_PRINT("As expected, test task 2 did not continue operating \n");
TC_PRINT("As expected, test task 2 did not continue operating\n");
TC_PRINT("after calling strcpy_s with incorrect parameters\n");
} else {
TC_ERROR("Test task 2 unexpectedly continued\n"

View file

@ -369,7 +369,7 @@ int taskYieldTest(void)
task_yield();
if (helperData == prevHelperData) {
TC_ERROR("Iter %d. helperData did not change (%d) \n",
TC_ERROR("Iter %d. helperData did not change (%d)\n",
i + 1, helperData);
return TC_FAIL;
}

View file

@ -344,7 +344,7 @@ void testIsrFifoFromFiber(void)
}
/* Put more item into queue */
TC_PRINT("\nISR FIFO (running in fiber context) Put Order: \n");
TC_PRINT("\nISR FIFO (running in fiber context) Put Order:\n");
for (int i=0; i<NUM_FIFO_ELEMENT; i++) {
isrFifoInfo.data = pPutList1[i];
TC_PRINT(" %p,", pPutList1[i]);

View file

@ -333,7 +333,7 @@ void testIsrStackFromFiber(void)
}
/* Put more data into STACK */
TC_PRINT("ISR STACK (running in fiber context) Push to queue1: \n");
TC_PRINT("ISR STACK (running in fiber context) Push to queue1:\n");
for (int i=0; i<NUM_STACK_ELEMENT; i++) {
isrStackInfo.data = myIsrData[i];
TC_PRINT(" %d, ", myIsrData[i]);