Re: [PATCH 4/6] dix: Remove incorrect comment about privates.

2014-03-10 Thread Keith Packard
Eric Anholt e...@anholt.net writes:

 PRIVATE_ALL was apparently dropped before this comment was added in
 commit 495fc3eb2d6c98bde82ae1278f89fcf131fd9bf8.

Actually, the name was changed to PRIVATE_XSELINUX to reflect the more
limited scope of usage.

-- 
keith.pack...@intel.com


pgpKgfITUuyu0.pgp
Description: PGP signature
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

[PATCH 4/6] dix: Remove incorrect comment about privates.

2014-03-06 Thread Eric Anholt
PRIVATE_ALL was apparently dropped before this comment was added in
commit 495fc3eb2d6c98bde82ae1278f89fcf131fd9bf8.

Signed-off-by: Eric Anholt e...@anholt.net
---
 dix/privates.c | 9 -
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/dix/privates.c b/dix/privates.c
index e03b225..dd26c6f 100644
--- a/dix/privates.c
+++ b/dix/privates.c
@@ -325,11 +325,10 @@ grow_screen_specific_set(DevPrivateType type, unsigned 
bytes)
 
 /*
  * Register a private key. This takes the type of object the key will
- * be used with, which may be PRIVATE_ALL indicating that this key
- * will be used with all of the private objects. If 'size' is
- * non-zero, then the specified amount of space will be allocated in
- * the private storage. Otherwise, space for a single pointer will
- * be allocated which can be set with dixSetPrivate
+ * be used. If 'size' is non-zero, then the specified amount of space
+ * will be allocated in the private storage. Otherwise, space for a
+ * single pointer will be allocated which can be set with
+ * dixSetPrivate
  */
 Bool
 dixRegisterPrivateKey(DevPrivateKey key, DevPrivateType type, unsigned size)
-- 
1.9.0

___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel


Re: [PATCH 4/6] dix: Remove incorrect comment about privates.

2014-03-06 Thread Markus Wick

Am 2014-03-06 18:00, schrieb Eric Anholt:

PRIVATE_ALL was apparently dropped before
There wasn't any PRIVATE_ALL key neither in xserver nor in glamor. I 
guess it's just a wrong reference to privates.h, so it's the same as the 
enum DevPrivateKey itself.

___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel