aboutsummaryrefslogtreecommitdiff
path: root/src/flash/nor/msp432.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/nor/msp432.c')
-rw-r--r--src/flash/nor/msp432.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nor/msp432.c b/src/flash/nor/msp432.c
index 5e2935d..b5e2b0b 100644
--- a/src/flash/nor/msp432.c
+++ b/src/flash/nor/msp432.c
@@ -937,7 +937,7 @@ static int msp432_probe(struct flash_bank *bank)
if (is_main && MSP432P4 == msp432_bank->family_type) {
/* Create the info flash bank needed by MSP432P4 variants */
- struct flash_bank *info = calloc(sizeof(struct flash_bank), 1);
+ struct flash_bank *info = calloc(1, sizeof(struct flash_bank));
if (!info)
return ERROR_FAIL;