Thread (1 message) 1 message, 1 author, 2015-05-27

Re: [char-misc-next 04/11 V2] uuid: extract macros for assigning raw arrays

From: Greg KH <hidden>
Date: 2015-05-27 16:50:54

On Wed, May 27, 2015 at 06:42:13PM +0300, Tomas Winkler wrote:
In order for mei client devices to use device id based on uuid we
have to use common types between user space (file2alias.c).
Similarly to vmbus,  mei  uses raw 16 byte array for that. 
To leverage on existing infrastructure around uuid_le type 
defined in uuid.h we add helper macros to handle conversions between
raw 16 byte array and uuid_{le,be} types.
You aren't adding a helper macro, you are just redefining the existing
macros using a different one.  But I can't see why this is needed, what
does this solve that vmbus and other uses of the existing macros don't
need?  In other words, what makes mei so special that it needs a "lower"
level macro than every other subsystem?

thanks,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help