| 187 | static int bnxt_check_fw_ready(struct bnxt *bp); |
| 188 | |
| 189 | int is_bnxt_in_error(struct bnxt *bp) |
| 190 | { |
| 191 | if (bp->flags & BNXT_FLAG_FATAL_ERROR) |
| 192 | return -EIO; |
| 193 | if (bp->flags & BNXT_FLAG_FW_RESET) |
| 194 | return -EBUSY; |
| 195 | |
| 196 | return 0; |
| 197 | } |
| 198 | |
| 199 | /***********************/ |
| 200 |
no outgoing calls
no test coverage detected