mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
cxgbe(4): unimplemented cudbg routines should return the correct
internal error code and not an errno. Submitted by: Krishnamraju Eraparaju @ Chelsio MFC after: 1 week Sponsored by: Chelsio Communications
This commit is contained in:
parent
8a36ece45d
commit
6cc4520b0a
1 changed files with 4 additions and 4 deletions
|
|
@ -2027,7 +2027,7 @@ err1:
|
|||
err:
|
||||
return rc;
|
||||
#endif
|
||||
return (EDOOFUS);
|
||||
return (CUDBG_STATUS_NOT_IMPLEMENTED);
|
||||
}
|
||||
/* CIM OBQ */
|
||||
|
||||
|
|
@ -2664,7 +2664,7 @@ err1:
|
|||
err:
|
||||
return rc;
|
||||
#endif
|
||||
return (EDOOFUS);
|
||||
return (CUDBG_STATUS_NOT_IMPLEMENTED);
|
||||
}
|
||||
|
||||
static void collect_mem_info(struct cudbg_init *pdbg_init,
|
||||
|
|
@ -3130,7 +3130,7 @@ err1:
|
|||
err:
|
||||
return rc;
|
||||
#endif
|
||||
return (EDOOFUS);
|
||||
return (CUDBG_STATUS_NOT_IMPLEMENTED);
|
||||
}
|
||||
|
||||
static int collect_pbt_tables(struct cudbg_init *pdbg_init,
|
||||
|
|
@ -4450,5 +4450,5 @@ err1:
|
|||
err:
|
||||
return rc;
|
||||
#endif
|
||||
return (EDOOFUS);
|
||||
return (CUDBG_STATUS_NOT_IMPLEMENTED);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue