Commit 3109c4eb authored by Vinay K. Nallamothu's avatar Vinay K. Nallamothu Committed by Stephen Hemminger

[NET]: Fix MCA device name handling in 3c509.c

parent 3708b4d7
......@@ -629,8 +629,8 @@ static int __init el3_mca_probe(struct device *device) {
el3_mca_adapter_names[mdev->index], slot + 1);
/* claim the slot */
strncpy(device->name, el3_mca_adapter_names[mdev->index],
sizeof(device->name));
strncpy(mdev->name, el3_mca_adapter_names[mdev->index],
sizeof(mdev->name));
mca_device_set_claim(mdev, 1);
if_port = pos4 & 0x03;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment