checkpatch: error - spacing

Change-Id: Ie051000e3d3f0f5bdc330d0265010c37acb873bd
Signed-off-by: Dan Kalowsky <daniel.kalowsky@intel.com>
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Dan Kalowsky 2015-10-20 09:42:34 -07:00 committed by Anas Nashif
commit d81d8bcbfa
7 changed files with 9 additions and 9 deletions

View file

@ -367,7 +367,7 @@ static void _FaultDump(const NANO_ESF *esf, int fault)
* \NOMANUAL * \NOMANUAL
*/ */
void _Fault( const NANO_ESF *msp, const NANO_ESF *psp) void _Fault(const NANO_ESF *msp, const NANO_ESF *psp)
{ {
const NANO_ESF *esf = _ScbIsNestedExc() ? msp : psp; const NANO_ESF *esf = _ScbIsNestedExc() ? msp : psp;
int fault = _ScbActiveVectorGet(); int fault = _ScbActiveVectorGet();

View file

@ -70,7 +70,7 @@ static inline void nonEssentialTaskAbort(void)
* \NOMANUAL * \NOMANUAL
*/ */
void _SysFatalErrorHandler( unsigned int reason, const NANO_ESF * pEsf) void _SysFatalErrorHandler(unsigned int reason, const NANO_ESF * pEsf)
{ {
nano_context_type_t curCtx = sys_execution_context_type_get(); nano_context_type_t curCtx = sys_execution_context_type_get();

View file

@ -185,7 +185,7 @@ static int _int_stub_alloc(void)
* *
*/ */
void _IntVecSet( unsigned int vector, void (*routine)(void *), unsigned int dpl) void _IntVecSet(unsigned int vector, void (*routine)(void *), unsigned int dpl)
{ {
unsigned long long *pIdtEntry; unsigned long long *pIdtEntry;
unsigned int key; unsigned int key;
@ -271,7 +271,7 @@ void _IntVecSet( unsigned int vector, void (*routine)(void *), unsigned int dpl)
* vectors remaining in the specified <priority> level. * vectors remaining in the specified <priority> level.
*/ */
int irq_connect( unsigned int irq, unsigned int priority, int irq_connect(unsigned int irq, unsigned int priority,
void (*routine)(void *parameter), void *parameter) void (*routine)(void *parameter), void *parameter)
{ {
unsigned char offsetAdjust; unsigned char offsetAdjust;

View file

@ -46,7 +46,7 @@
* @return N/A * @return N/A
*/ */
void _StartTaskArch( struct k_task *X, unsigned int *pOpt) void _StartTaskArch(struct k_task *X, unsigned int *pOpt)
{ {
/* /*
* The IA-32 nanokernel implementation uses the USE_FP bit in the * The IA-32 nanokernel implementation uses the USE_FP bit in the

View file

@ -815,7 +815,7 @@ static inline void nanoArchInit(void)
* \NOMANUAL * \NOMANUAL
*/ */
static inline void fiberRtnValueSet( struct tcs *fiber, unsigned int value) static inline void fiberRtnValueSet(struct tcs *fiber, unsigned int value)
{ {
/* write into 'eax' slot created in _Swap() entry */ /* write into 'eax' slot created in _Swap() entry */

View file

@ -419,10 +419,10 @@ extern void nano_cpu_idle(void);
/** Nanokernel provided routine to report any detected fatal error. */ /** Nanokernel provided routine to report any detected fatal error. */
extern FUNC_NORETURN void _NanoFatalErrorHandler(unsigned int reason, extern FUNC_NORETURN void _NanoFatalErrorHandler(unsigned int reason,
const NANO_ESF *pEsf); const NANO_ESF * pEsf);
/** User provided routine to handle any detected fatal error post reporting. */ /** User provided routine to handle any detected fatal error post reporting. */
extern FUNC_NORETURN void _SysFatalErrorHandler(unsigned int reason, extern FUNC_NORETURN void _SysFatalErrorHandler(unsigned int reason,
const NANO_ESF *pEsf); const NANO_ESF * pEsf);
/** Dummy ESF for fatal errors that would otherwise not have an ESF */ /** Dummy ESF for fatal errors that would otherwise not have an ESF */
extern const NANO_ESF _default_esf; extern const NANO_ESF _default_esf;

View file

@ -117,7 +117,7 @@ SECTIONS
GROUP_START(RAM) GROUP_START(RAM)
#if defined(CONFIG_XIP) #if defined(CONFIG_XIP)
SECTION_AT_PROLOGUE(_DATA_SECTION_NAME, (OPTIONAL),,__data_rom_start) SECTION_AT_PROLOGUE(_DATA_SECTION_NAME, (OPTIONAL), , __data_rom_start)
#else #else
SECTION_PROLOGUE(_DATA_SECTION_NAME, (OPTIONAL),) SECTION_PROLOGUE(_DATA_SECTION_NAME, (OPTIONAL),)
#endif #endif