forked from auracaster/openocd
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:
@@ -122,16 +122,16 @@ struct outer_cache_fns {
|
||||
void (*resume)(void);
|
||||
|
||||
/* This is an ARM L2C thing */
|
||||
void (*write_sec)(unsigned long, unsigned);
|
||||
void (*write_sec)(unsigned long, unsigned int);
|
||||
void (*configure)(const struct l2x0_regs *);
|
||||
};
|
||||
|
||||
struct l2c_init_data {
|
||||
const char *type;
|
||||
unsigned way_size_0;
|
||||
unsigned num_lock;
|
||||
unsigned int way_size_0;
|
||||
unsigned int num_lock;
|
||||
|
||||
void (*enable)(uint32_t, uint32_t, unsigned);
|
||||
void (*enable)(uint32_t, uint32_t, unsigned int);
|
||||
void (*fixup)(uint32_t, uint32_t, struct outer_cache_fns *);
|
||||
void (*save)(uint32_t);
|
||||
void (*configure)(uint32_t);
|
||||
|
||||
Reference in New Issue
Block a user