[PATCH v3 4/5] virtio: blk: Fix converting the vendor id to a string
Daniel Palmer
daniel at thingy.jp
Sun Apr 12 23:47:37 CEST 2026
Hi Kuan-Wei,
On Mon, 13 Apr 2026 at 06:34, Kuan-Wei Chiu <visitorckw at gmail.com> wrote:
> Is there a chance that other non qemu virtio-mmio devices also use a
> 4 character string for their vendor ID? If so, this patch will regress
> their output from a human-readable string to a raw hex value.
There might be other implementations of virtio but probably not used
together with u-boot.
I think this goes the other way too, we are assuming the ids are
printable ascii chars and it's possible to have an id that isn't.
What is currently happening looks like luck and seems unsafe to me so
I think regressing to printing hex is better.
More information about the U-Boot
mailing list