Commit 9cdd4133 authored by Federico Vaga's avatar Federico Vaga

sw:drv: bugfix uninitialized variable

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 5372b1d1
......@@ -173,7 +173,7 @@ static int trtl_cpu_firmware_load(struct trtl_cpu *cpu, void *fw_buf,
{
struct trtl_dev *trtl = to_trtl_dev(cpu->dev.parent);
uint32_t *fw = fw_buf, word, word_rb, irq_dbg_old;
int size, offset, i, cpu_memsize, err;
int size, offset, i, cpu_memsize, err = 0;
/*
* The Debug console uses the CORE select. In order to avoid an IRQ burst
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment