Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Feb 2007 16:55:06 GMT
From:      Todd Miller <millert@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 114876 for review
Message-ID:  <200702231655.l1NGt6YY042937@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=114876

Change 114876 by millert@millert_macbook on 2007/02/23 16:54:13

	s/-ENOMEM/ENOMEM/

Affected files ...

.. //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/sedarwin/ss/ebitmap.c#4 edit
.. //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/sedarwin/ss/ebitmap.h#4 edit
.. //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/sedarwin/ss/mls.h#4 edit

Differences ...

==== //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/sedarwin/ss/ebitmap.c#4 (text+ko) ====

@@ -95,7 +95,7 @@
 
 	c_iter = netlbl_secattr_catmap_alloc(GFP_ATOMIC);
 	if (c_iter == NULL)
-		return -ENOMEM;
+		return ENOMEM;
 	*catmap = c_iter;
 	c_iter->startbit = e_iter->startbit & ~(NETLBL_CATMAP_SIZE - 1);
 
@@ -119,7 +119,7 @@
 
 netlbl_export_failure:
 	netlbl_secattr_catmap_free(*catmap);
-	return -ENOMEM;
+	return ENOMEM;
 }
 
 /**
@@ -175,7 +175,7 @@
 
 netlbl_import_failure:
 	ebitmap_destroy(ebmap);
-	return -ENOMEM;
+	return ENOMEM;
 }
 #endif /* CONFIG_NETLABEL */
 

==== //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/sedarwin/ss/ebitmap.h#4 (text+ko) ====

@@ -88,12 +88,12 @@
 static inline int ebitmap_netlbl_export(struct ebitmap *ebmap,
 				struct netlbl_lsm_secattr_catmap **catmap)
 {
-	return -ENOMEM;
+	return ENOMEM;
 }
 static inline int ebitmap_netlbl_import(struct ebitmap *ebmap,
 				struct netlbl_lsm_secattr_catmap *catmap)
 {
-	return -ENOMEM;
+	return ENOMEM;
 }
 #endif
 

==== //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/sedarwin/ss/mls.h#4 (text+ko) ====

@@ -72,12 +72,12 @@
 static inline int mls_export_netlbl_cat(struct context *context,
 					struct netlbl_lsm_secattr *secattr)
 {
-	return -ENOMEM;
+	return ENOMEM;
 }
 static inline int mls_import_netlbl_cat(struct context *context,
 					struct netlbl_lsm_secattr *secattr)
 {
-	return -ENOMEM;
+	return ENOMEM;
 }
 #endif
 



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