Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Nov 2020 23:58:14 +0000 (UTC)
From:      Navdeep Parhar <np@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r367966 - stable/12/sys/dev/cxgbe/cudbg
Message-ID:  <202011232358.0ANNwErI049326@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: np
Date: Mon Nov 23 23:58:14 2020
New Revision: 367966
URL: https://svnweb.freebsd.org/changeset/base/367966

Log:
  MFC r366694:
  
  cxgbe(4): unimplemented cudbg routines should return the correct
  internal error code and not an errno.
  
  Submitted by:	Krishnamraju Eraparaju @ Chelsio
  Sponsored by:	Chelsio Communications

Modified:
  stable/12/sys/dev/cxgbe/cudbg/cudbg_lib.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/cxgbe/cudbg/cudbg_lib.c
==============================================================================
--- stable/12/sys/dev/cxgbe/cudbg/cudbg_lib.c	Mon Nov 23 23:53:21 2020	(r367965)
+++ stable/12/sys/dev/cxgbe/cudbg/cudbg_lib.c	Mon Nov 23 23:58:14 2020	(r367966)
@@ -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);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011232358.0ANNwErI049326>