
24 Jan
2019
24 Jan
'19
9:05 p.m.
On 1/24/19 11:38 AM, Simon Goldschmidt wrote:
This unbreaks dfu mmc_file_op which is currently broken since using the load cmd on a buffer from heap is not allowed.
Tested-by: Stephen Warren swarren@nvidia.com
diff --git a/drivers/dfu/dfu_mmc.c b/drivers/dfu/dfu_mmc.c
static int mmc_file_op(enum dfu_op op, struct dfu_entity *dfu, void *buf, u64 *len) {
- const char *fsname, *opname;
- char cmd_buf[DFU_CMD_BUF_SIZE];
- char *str_env;
- char dev_part_str[DFU_CMD_BUF_SIZE];
This can be a lot smaller now, but I guess it's fine as is.