svn commit: r311067 - stable/10/sys/dev/sfxge/common
Andrew Rybchenko
arybchik at FreeBSD.org
Mon Jan 2 09:17:30 UTC 2017
Author: arybchik
Date: Mon Jan 2 09:17:29 2017
New Revision: 311067
URL: https://svnweb.freebsd.org/changeset/base/311067
Log:
MFC r310704
sfxge(4): translate MC_CMD_ERR_ERANGE to host errno value
This is needed because MCDI command MC_CMD_REKEY can return
MC_CMD_ERR_ERANGE.
Submitted by: Tom Millington <tmillington at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
Modified:
stable/10/sys/dev/sfxge/common/efx_mcdi.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/dev/sfxge/common/efx_mcdi.c
==============================================================================
--- stable/10/sys/dev/sfxge/common/efx_mcdi.c Mon Jan 2 09:16:23 2017 (r311066)
+++ stable/10/sys/dev/sfxge/common/efx_mcdi.c Mon Jan 2 09:17:29 2017 (r311067)
@@ -646,6 +646,8 @@ efx_mcdi_request_errcode(
case MC_CMD_ERR_ENOSPC:
return (ENOSPC);
#endif
+ case MC_CMD_ERR_ERANGE:
+ return (ERANGE);
case MC_CMD_ERR_ALLOC_FAIL:
return (ENOMEM);
More information about the svn-src-stable
mailing list