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