Consistently use uuid_le type in the Hyper-V driver code.
Showing the changes to scripts/mod (1 of 5 files). Show all
Unified · Split
| @@ -917,7 +917,7 @@ static int do_vmbus_entry(const char *filename, void *symval, · 916 unmodified lines | ||
| 917 | 917 | char guid_name[(sizeof(*guid) + 1) * 2]; |
| 918 | 918 | |
| 919 | 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 | 922 | strcpy(alias, "vmbus:"); |
| 923 | 923 | strcat(alias, guid_name); |