File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ static ssize_t class_id_show(struct device *dev,
201
201
if (!hv_dev -> channel )
202
202
return - ENODEV ;
203
203
return sprintf (buf , "{%pUl}\n" ,
204
- hv_dev -> channel -> offermsg .offer .if_type . b );
204
+ & hv_dev -> channel -> offermsg .offer .if_type );
205
205
}
206
206
static DEVICE_ATTR_RO (class_id );
207
207
@@ -213,7 +213,7 @@ static ssize_t device_id_show(struct device *dev,
213
213
if (!hv_dev -> channel )
214
214
return - ENODEV ;
215
215
return sprintf (buf , "{%pUl}\n" ,
216
- hv_dev -> channel -> offermsg .offer .if_instance . b );
216
+ & hv_dev -> channel -> offermsg .offer .if_instance );
217
217
}
218
218
static DEVICE_ATTR_RO (device_id );
219
219
@@ -1991,7 +1991,7 @@ int vmbus_device_register(struct hv_device *child_device_obj)
1991
1991
int ret ;
1992
1992
1993
1993
dev_set_name (& child_device_obj -> device , "%pUl" ,
1994
- child_device_obj -> channel -> offermsg .offer .if_instance . b );
1994
+ & child_device_obj -> channel -> offermsg .offer .if_instance );
1995
1995
1996
1996
child_device_obj -> device .bus = & hv_bus ;
1997
1997
child_device_obj -> device .parent = & hv_acpi_dev -> dev ;
You can’t perform that action at this time.
0 commit comments