Lines Matching defs:error
457 * in the channel, and will return an error if no packet is found
568 int slot, error;
586 error = ilo_ccb_setup(hw, data, slot);
587 if (error) {
604 error = ilo_ccb_verify(hw, data);
605 if (error) {
625 error = -EBUSY;
628 error = 0;
634 if (!error)
637 return error;
769 int devnum, minor, start, error = 0;
796 error = -ENOMEM;
806 error = pci_enable_device(pdev);
807 if (error)
812 error = pci_request_regions(pdev, ILO_NAME);
813 if (error)
816 error = ilo_map_device(pdev, ilo_hw);
817 if (error)
823 error = request_irq(pdev->irq, ilo_isr, IRQF_SHARED, "hpilo", ilo_hw);
824 if (error)
832 error = cdev_add(&ilo_hw->cdev, MKDEV(ilo_major, start), max_ccb);
833 if (error) {
861 return error;
880 int error;
885 error = PTR_ERR(ilo_class);
889 error = alloc_chrdev_region(&dev, 0, MAX_OPEN, ILO_NAME);
890 if (error)
895 error = pci_register_driver(&ilo_driver);
896 if (error)
905 return error;