summaryrefslogtreecommitdiffstats
path: root/scripts/mod/file2alias.c
diff options
context:
space:
mode:
authorK. Y. Srinivasan <kys@microsoft.com>2015-12-15 01:01:43 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-15 04:15:05 +0100
commitaf3ff643ea91ba64dd8d0b1cbed54d44512f96cd (patch)
treee48219e948d1d7d5c79b272ec09b001ac7552dbf /scripts/mod/file2alias.c
parentDrivers: hv: vss: run only on supported host versions (diff)
downloadlinux-af3ff643ea91ba64dd8d0b1cbed54d44512f96cd.tar.xz
linux-af3ff643ea91ba64dd8d0b1cbed54d44512f96cd.zip
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/mod/file2alias.c')
-rw-r--r--scripts/mod/file2alias.c2
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,
char guid_name[(sizeof(*guid) + 1) * 2];
for (i = 0; i < (sizeof(*guid) * 2); i += 2)
- sprintf(&guid_name[i], "%02x", TO_NATIVE((*guid)[i/2]));
+ sprintf(&guid_name[i], "%02x", TO_NATIVE((guid->b)[i/2]));
strcpy(alias, "vmbus:");
strcat(alias, guid_name);