History

Drivers: hv: vmbus: Use uuid_le type consistently

Consistently use uuid_le type in the Hyper-V driver code.

K. Y. Srinivasan committed 10 years ago

Commit af3ff641 parent ed9ba605 files · +40 −68Browse files

Showing the changes to scripts/mod (1 of 5 files). Show all

Unified · Split

scripts/mod/file2alias.c+1−1
@@ -917,7 +917,7 @@ static int do_vmbus_entry(const char *filename, void *symval, · 916 unmodified lines
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);