mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
staging: unisys: fix CamelCase in net_adap_info
Fix the CamelCase member name in this structure: zoneGuid => zone_uuid Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
086241e6d0
commit
5689de903e
@@ -363,7 +363,7 @@ static int add_vhba(struct add_virt_guestpart *addparams)
|
||||
chanptr)->vnic.num_rcv_bufs); \
|
||||
net.mtu = readl(&((struct spar_io_channel_protocol __iomem *) \
|
||||
chanptr)->vnic.mtu); \
|
||||
memcpy_fromio(&net.zoneGuid, \
|
||||
memcpy_fromio(&net.zone_uuid, \
|
||||
&((struct spar_io_channel_protocol __iomem *)\
|
||||
chanptr)->vnic.zone_uuid, \
|
||||
sizeof(uuid_le)); \
|
||||
@@ -395,7 +395,7 @@ add_vnic(struct add_virt_guestpart *addparams)
|
||||
LOGINF("Adding vnic macaddr:%02x:%02x:%02x:%02x:%02x:%02x rcvbufs:%d mtu:%d chanptr:%p%pUL\n",
|
||||
net.mac_addr[0], net.mac_addr[1], net.mac_addr[2], net.mac_addr[3],
|
||||
net.mac_addr[4], net.mac_addr[5], net.num_rcv_bufs, net.mtu,
|
||||
addparams->chanptr, &net.zoneGuid);
|
||||
addparams->chanptr, &net.zone_uuid);
|
||||
i = virtpci_device_add(vbus, VIRTNIC_TYPE, addparams, NULL, &net);
|
||||
if (i) {
|
||||
LOGINF("Added vnic macaddr:%02x:%02x:%02x:%02x:%02x:%02x\n",
|
||||
|
||||
@@ -42,7 +42,7 @@ struct net_adap_info {
|
||||
u8 mac_addr[MAX_MACADDR_LEN];
|
||||
int num_rcv_bufs;
|
||||
unsigned mtu;
|
||||
uuid_le zoneGuid;
|
||||
uuid_le zone_uuid;
|
||||
};
|
||||
|
||||
typedef enum {
|
||||
|
||||
Reference in New Issue
Block a user