Lines Matching defs:error
453 * in the channel, and will return an error if no packet is found
564 int slot, error;
582 error = ilo_ccb_setup(hw, data, slot);
583 if (error) {
600 error = ilo_ccb_verify(hw, data);
601 if (error) {
621 error = -EBUSY;
624 error = 0;
630 if (!error)
633 return error;
773 int devnum, minor, start, error = 0;
800 error = -ENOMEM;
810 error = pci_enable_device(pdev);
811 if (error)
816 error = pci_request_regions(pdev, ILO_NAME);
817 if (error)
820 error = ilo_map_device(pdev, ilo_hw);
821 if (error)
827 error = request_irq(pdev->irq, ilo_isr, IRQF_SHARED, "hpilo", ilo_hw);
828 if (error)
836 error = cdev_add(&ilo_hw->cdev, MKDEV(ilo_major, start), max_ccb);
837 if (error) {
865 return error;
884 int error;
887 error = class_register(&ilo_class);
888 if (error)
891 error = alloc_chrdev_region(&dev, 0, MAX_OPEN, ILO_NAME);
892 if (error)
897 error = pci_register_driver(&ilo_driver);
898 if (error)
907 return error;