coding style: fix space around pointer's asterisk
The script checkpatch available in new Linux kernel offers an
experimental feature for automatically fix the code in place.
While still experimental, the feature works quite well for simple
fixes, like spacing.
This patch has been created automatically with the script under
review for inclusion in OpenOCD, using the command
find src/ -type f -exec ./tools/scripts/checkpatch.pl \
-q --types POINTER_LOCATION --fix-inplace -f {} \;
then manually reviewed.
OpenOCD coding style does not mention the space around pointer's
asterisk, so no check is enforced. This patch only makes the style
uniform across the files.
The patch only changes amount and position of whitespace, thus
the following commands show empty diff
git diff -w
git log -w -p
git log -w --stat
Change-Id: Iefb4998e69bebdfe0d1ae65cadfc8d2c4f166d13
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5197
Tested-by: jenkins
This commit is contained in:
@@ -1216,7 +1216,7 @@ static int numicro_init_isp(struct target *target)
|
||||
return ERROR_OK;
|
||||
}
|
||||
|
||||
static uint32_t numicro_fmc_cmd(struct target *target, uint32_t cmd, uint32_t addr, uint32_t wdata, uint32_t* rdata)
|
||||
static uint32_t numicro_fmc_cmd(struct target *target, uint32_t cmd, uint32_t addr, uint32_t wdata, uint32_t *rdata)
|
||||
{
|
||||
uint32_t timeout, status;
|
||||
int retval = ERROR_OK;
|
||||
@@ -1649,7 +1649,7 @@ static int numicro_write(struct flash_bank *bank, const uint8_t *buffer,
|
||||
return ERROR_OK;
|
||||
}
|
||||
|
||||
static int numicro_get_cpu_type(struct target *target, const struct numicro_cpu_type** cpu)
|
||||
static int numicro_get_cpu_type(struct target *target, const struct numicro_cpu_type **cpu)
|
||||
{
|
||||
uint32_t part_id;
|
||||
int retval = ERROR_OK;
|
||||
|
||||
Reference in New Issue
Block a user