| 342 | } |
| 343 | |
| 344 | int |
| 345 | ionic_dev_cmd_wait_check(struct ionic_dev *idev, unsigned long max_wait) |
| 346 | { |
| 347 | int err; |
| 348 | |
| 349 | err = ionic_dev_cmd_wait(idev, max_wait); |
| 350 | |
| 351 | if (!err) |
| 352 | err = ionic_dev_cmd_check_error(idev); |
| 353 | |
| 354 | IONIC_PRINT(DEBUG, "dev_cmd returned %d", err); |
| 355 | return err; |
| 356 | } |
| 357 | |
| 358 | int |
| 359 | ionic_setup(struct ionic_adapter *adapter) |
no test coverage detected