Skip to content

Commit

Permalink
drivers - boot: [FIX] serial number conversion to DT
Browse files Browse the repository at this point in the history
  • Loading branch information
martinspinler committed Jun 5, 2024
1 parent 0795a36 commit a949b22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/kernel/drivers/nfb/boot/boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ int nfb_boot_attach(struct nfb_device *nfb, void **priv)
if (nfb->serial_str) {
fdt_setprop_string(nfb->fdt, fdt_offset, "serial-number-string", nfb->serial_str);
} else {
fdt_setprop_string(nfb->fdt, fdt_offset, "serial-number", nfb->serial);
fdt_setprop_u32(nfb->fdt, fdt_offset, "serial-number", nfb->serial);
}

dev_info(&nfb->pci->dev, "nfb_boot: Attached successfully\n");
Expand Down

0 comments on commit a949b22

Please sign in to comment.