On Fri, Jun 26, 2020 at 8:18 AM Sumit Garg sumit.garg@linaro.org wrote:
On Thu, 25 Jun 2020 at 18:22, Maxim Uvarov maxim.uvarov@linaro.org wrote:
...
I guess you missed the point that uuid_t is implemented in BE format in the kernel which is compliant as per RFC 4122.
I guess you missed the point. Kernel doesn't have anything special about these types and does NOT compliant as per RFC. The only things the kernel distinguishes are a) byte order (always), and b) version bits when you get a random UUID (whatever you call it).
I guess this discussion takes too much time. The idea is that kernel types are just for kernel use with as little intrusion as possible. The main principle, we get something, we carry it w/o modifications inside the kernel.
So, you may use whatever you want and LE/BE is purely based on a) and b) above.