checkpatch: error - pointer_location

Change-Id: I9ce224cb75ba21caecffd6747833257f748b5ecf
Signed-off-by: Dan Kalowsky <daniel.kalowsky@intel.com>
This commit is contained in:
Dan Kalowsky 2015-10-14 16:04:48 -07:00 committed by Anas Nashif
commit e4bb957a00
4 changed files with 6 additions and 6 deletions

View file

@ -764,7 +764,7 @@ int i2c_dw_initialize(struct device *port)
return DEV_NOT_CONFIG;
}
regs = (struct i2c_dw_registers*) rom->base_address;
regs = (struct i2c_dw_registers *) rom->base_address;
/* verify that we have a valid DesignWare register first */
if (regs->ic_comp_type != I2C_DW_MAGIC_KEY) {

View file

@ -28,7 +28,7 @@
#include <nanokernel.h>
#include <arch/cpu.h>
#include <board.h>
extern void * _VectorTable;
extern void *_VectorTable;
/*
* @brief Initialize the interrupt unit device driver

View file

@ -420,10 +420,10 @@ extern void nano_cpu_idle(void);
/** Nanokernel provided routine to report any detected fatal error. */
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. */
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 */
extern const NANO_ESF _default_esf;

View file

@ -30,8 +30,8 @@
typedef unsigned int size_t;
#endif
unsigned long int strtoul(const char* str, char** endptr, int base);
long int strtol (const char* str, char** endptr, int base);
unsigned long int strtoul(const char *str, char **endptr, int base);
long int strtol(const char *str, char **endptr, int base);
int atoi(const char *s);