Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3ef288a9 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

i7core_edac: Print an error message if pci register fails

parent b990538a
Loading
Loading
Loading
Loading
+7 −1
Original line number Original line Diff line number Diff line
@@ -1743,7 +1743,13 @@ static int __init i7core_init(void)


	pci_rc = pci_register_driver(&i7core_driver);
	pci_rc = pci_register_driver(&i7core_driver);


	return (pci_rc < 0) ? pci_rc : 0;
	if (pci_rc >= 0)
		return 0;

	i7core_printk(KERN_ERR, "Failed to register device with error %d.\n",
		      pci_rc);

	return pci_rc;
}
}


/*
/*