return err;
offset = cfg.cap_ptr;
+ /* Make gcc happy, otherwise gcc fails build due to cap not set if offset ==
+ * 0 */
+ cap = (pci_capability_pcie_t *) (cfg.data + offset);
while (offset)
{
.short_help = "show pci [all]",
.function = show_pci_fn,
};
-