]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/papr_scm: Properly handle UUID types and API
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 16 Jun 2021 13:43:03 +0000 (16:43 +0300)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 24 Jun 2021 14:07:10 +0000 (00:07 +1000)
commit546993708d755b280e9d7b18f103652579935e91
treec78ca8c340c99897ac67ec2923de53be52de3c5c
parent48074875764c81609bd1b3d179b552e2d2a30b6a
powerpc/papr_scm: Properly handle UUID types and API

Parse to and export from UUID own type, before dereferencing.
This also fixes wrong comment (Little Endian UUID is something else)
and should eliminate the direct strict types assignments.

Fixes: a5f76ade7c39 ("powerpc/papr_scm: Use ibm,unit-guid as the iset cookie")
Fixes: e23d722f9115 ("powerpc/pseries/scm: Use a specific endian format for storing uuid from the device tree")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210616134303.58185-1-andriy.shevchenko@linux.intel.com
arch/powerpc/platforms/pseries/papr_scm.c