diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2015-12-14 19:01:43 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-14 22:15:05 -0500 |
commit | af3ff643ea91ba64dd8d0b1cbed54d44512f96cd (patch) | |
tree | e48219e948d1d7d5c79b272ec09b001ac7552dbf /scripts | |
parent | ed9ba608e4851144af8c7061cbb19f751c73e998 (diff) |
Drivers: hv: vmbus: Use uuid_le type consistently
Consistently use uuid_le type in the Hyper-V driver code.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/mod/file2alias.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mod/file2alias.c b/scripts/mod/file2alias.c index 5b96206e9aab..8adca4406198 100644 --- a/scripts/mod/file2alias.c +++ b/scripts/mod/file2alias.c | |||
@@ -917,7 +917,7 @@ static int do_vmbus_entry(const char *filename, void *symval, | |||
917 | char guid_name[(sizeof(*guid) + 1) * 2]; | 917 | char guid_name[(sizeof(*guid) + 1) * 2]; |
918 | 918 | ||
919 | for (i = 0; i < (sizeof(*guid) * 2); i += 2) | 919 | for (i = 0; i < (sizeof(*guid) * 2); i += 2) |
920 | sprintf(&guid_name[i], "%02x", TO_NATIVE((*guid)[i/2])); | 920 | sprintf(&guid_name[i], "%02x", TO_NATIVE((guid->b)[i/2])); |
921 | 921 | ||
922 | strcpy(alias, "vmbus:"); | 922 | strcpy(alias, "vmbus:"); |
923 | strcat(alias, guid_name); | 923 | strcat(alias, guid_name); |