target: convert 'unsigned' to 'unsigned int'
Conversion done with checkpatch --fix-inplace -types UNSPECIFIED_INT Ignore the cast as they could be better addressed. Fix only minor additional checkpatch issue (spacing and line length). Use Checkpatch-ignore below for the function pointers in the file 'armv7a_cache_l2x.h' that do not assign the identifier names to the function arguments. Most of these struct are unused and should be fixed or dropped. Checkpatch-ignore: FUNCTION_ARGUMENTS Change-Id: I8f27e68eb3502e431c1ba801b362358105f9f2dc Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/8480 Tested-by: jenkins Reviewed-by: zapb <dev@zapb.de>
This commit is contained in:
@@ -685,7 +685,7 @@ target_addr_t target_address_max(struct target *target);
|
||||
*
|
||||
* This routine is a wrapper for target->type->address_bits.
|
||||
*/
|
||||
unsigned target_address_bits(struct target *target);
|
||||
unsigned int target_address_bits(struct target *target);
|
||||
|
||||
/**
|
||||
* Return the number of data bits this target supports.
|
||||
@@ -778,8 +778,8 @@ int target_arch_state(struct target *target);
|
||||
void target_handle_event(struct target *t, enum target_event e);
|
||||
|
||||
void target_handle_md_output(struct command_invocation *cmd,
|
||||
struct target *target, target_addr_t address, unsigned size,
|
||||
unsigned count, const uint8_t *buffer);
|
||||
struct target *target, target_addr_t address, unsigned int size,
|
||||
unsigned int count, const uint8_t *buffer);
|
||||
|
||||
int target_profiling_default(struct target *target, uint32_t *samples, uint32_t
|
||||
max_num_samples, uint32_t *num_samples, uint32_t seconds);
|
||||
|
||||
Reference in New Issue
Block a user