Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 249551
b: refs/heads/master
c: 50b0326
h: refs/heads/master
i:
  249549: bddfd61
  249547: 0a42bb7
  249543: a51158f
  249535: f18d996
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed May 11, 2011
1 parent 77e507c commit 7e18c28
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 53070793e06f3b643196c68585bf14a16c523fd2
refs/heads/master: 50b03266b387428d66e7d1c4898158c10f6a547c
5 changes: 3 additions & 2 deletions trunk/drivers/staging/hv/channel_mgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ struct vmbus_channel_message_table_entry {
#define MAX_NUM_DEVICE_CLASSES_SUPPORTED 8

static const struct hv_guid
gSupportedDeviceClasses[MAX_NUM_DEVICE_CLASSES_SUPPORTED] = {
supported_device_classes[MAX_NUM_DEVICE_CLASSES_SUPPORTED] = {
/* {ba6163d9-04a1-4d29-b605-72e2ffb1dc7f} */
/* Storage - SCSI */
{
Expand Down Expand Up @@ -459,7 +459,8 @@ static void vmbus_onoffer(struct vmbus_channel_message_header *hdr)
offer = (struct vmbus_channel_offer_channel *)hdr;
for (i = 0; i < MAX_NUM_DEVICE_CLASSES_SUPPORTED; i++) {
if (memcmp(&offer->offer.if_type,
&gSupportedDeviceClasses[i], sizeof(struct hv_guid)) == 0) {
&supported_device_classes[i],
sizeof(struct hv_guid)) == 0) {
fsupported = 1;
break;
}
Expand Down

0 comments on commit 7e18c28

Please sign in to comment.