coding style: fix space separation
The checkpatch script from Linux kernel v5.1 complains about using
space before comma, before semicolon and between function name and
open parenthesis.
Fix them!
Issue identified using the command
find src/ -type f -exec ./tools/scripts/checkpatch.pl \
-q --types SPACING -f {} \;
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: I1062051d7f97d59922847f5061c6d6811742d30e
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5627
Tested-by: jenkins
This commit is contained in:
@@ -216,7 +216,7 @@ static int lpcspifi_set_hw_mode(struct flash_bank *bank)
|
||||
|
||||
/* Run the algorithm */
|
||||
LOG_DEBUG("Running SPIFI init algorithm");
|
||||
retval = target_run_algorithm(target, 0 , NULL, 2, reg_params,
|
||||
retval = target_run_algorithm(target, 0, NULL, 2, reg_params,
|
||||
spifi_init_algorithm->address,
|
||||
spifi_init_algorithm->address + sizeof(spifi_init_code) - 2,
|
||||
1000, &armv7m_info);
|
||||
@@ -550,7 +550,7 @@ static int lpcspifi_erase(struct flash_bank *bank, unsigned int first,
|
||||
buf_set_u32(reg_params[3].value, 0, 32, bank->sectors[first].size);
|
||||
|
||||
/* Run the algorithm */
|
||||
retval = target_run_algorithm(target, 0 , NULL, 4, reg_params,
|
||||
retval = target_run_algorithm(target, 0, NULL, 4, reg_params,
|
||||
erase_algorithm->address,
|
||||
erase_algorithm->address + sizeof(lpcspifi_flash_erase_code) - 4,
|
||||
3000*(last - first + 1), &armv7m_info);
|
||||
|
||||
Reference in New Issue
Block a user