diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-04-15 12:15:55 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-16 08:26:50 +0300 |
commit | 41c9f7fb64f8423750b0ccd916a8a3cf4f5c99c1 (patch) | |
tree | a464ac628be498ffbde8b963041c70a36df3dd64 /drivers/phy | |
parent | 48cb17531b15967d9d3f34c770a25cc6c4ca6ad1 (diff) | |
download | linux-41c9f7fb64f8423750b0ccd916a8a3cf4f5c99c1.tar.xz |
stm class: Use correct UUID APIs
It appears that the STM code didn't manage to accurately decypher the
delicate inner workings of an alternative thought process behind the
UUID API and directly called generate_random_uuid() that clearly needs
to be a static function in lib/uuid.c.
At the same time, said STM code is poking directly at the byte array
inside the uuid_t when it uses the UUID for its internal purposes.
Fix these two transgressions by using intended APIs instead.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
[ash: changed back to uuid_t and updated the commit message]
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Link: https://lore.kernel.org/r/20210415091555.88085-1-alexander.shishkin@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/phy')
0 files changed, 0 insertions, 0 deletions