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
@ -2027,7 +2027,7 @@ err1:
|
|||||||
err:
|
err:
|
||||||
return rc;
|
return rc;
|
||||||
#endif
|
#endif
|
||||||
return (EDOOFUS);
|
return (CUDBG_STATUS_NOT_IMPLEMENTED);
|
||||||
}
|
}
|
||||||
/* CIM OBQ */
|
/* CIM OBQ */
|
||||||
|
|
||||||
@ -2664,7 +2664,7 @@ err1:
|
|||||||
err:
|
err:
|
||||||
return rc;
|
return rc;
|
||||||
#endif
|
#endif
|
||||||
return (EDOOFUS);
|
return (CUDBG_STATUS_NOT_IMPLEMENTED);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void collect_mem_info(struct cudbg_init *pdbg_init,
|
static void collect_mem_info(struct cudbg_init *pdbg_init,
|
||||||
@ -3130,7 +3130,7 @@ err1:
|
|||||||
err:
|
err:
|
||||||
return rc;
|
return rc;
|
||||||
#endif
|
#endif
|
||||||
return (EDOOFUS);
|
return (CUDBG_STATUS_NOT_IMPLEMENTED);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int collect_pbt_tables(struct cudbg_init *pdbg_init,
|
static int collect_pbt_tables(struct cudbg_init *pdbg_init,
|
||||||
@ -4450,5 +4450,5 @@ err1:
|
|||||||
err:
|
err:
|
||||||
return rc;
|
return rc;
|
||||||
#endif
|
#endif
|
||||||
return (EDOOFUS);
|
return (CUDBG_STATUS_NOT_IMPLEMENTED);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user