Commit 0eb3b26a authored by Federico Vaga's avatar Federico Vaga

sw:drv: fix platform_device ID length

The maximum is 20 characters, make it 19 characters long
Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 84fbb24e
......@@ -582,7 +582,7 @@ static void spec_fpga_app_id_build(struct spec_fpga *spec_fpga,
vendor_uuid[3] = ioread32(spec_fpga->fpga + app_off + FPGA_META_UUID + 0xC);
snprintf(id, size, "%16phN%4phN", &vendor_uuid, &device);
} else {
snprintf(id, size, "cern:%4phN:%4phN", &vendor, &device);
snprintf(id, size, "id:%4phN%4phN", &vendor, &device);
}
}
......
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