Skip to content

Commit

Permalink
Merge pull request #40 from peci1/2.17.1
Browse files Browse the repository at this point in the history
Fixed build on kernels 6.8+
  • Loading branch information
hcartiaux authored Apr 5, 2024
2 parents 94365f2 + 54693b3 commit 9983081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion r8152.c
Original file line number Diff line number Diff line change
Expand Up @@ -19690,7 +19690,7 @@ static int rtltool_ioctl(struct r8152 *tp, struct ifreq *ifr)
uinfo->idVendor = __le16_to_cpu(udev->descriptor.idVendor);
uinfo->idProduct = __le16_to_cpu(udev->descriptor.idProduct);
uinfo->bcdDevice = __le16_to_cpu(udev->descriptor.bcdDevice);
strlcpy(uinfo->devpath, udev->devpath, sizeof(udev->devpath));
strscpy(uinfo->devpath, udev->devpath, sizeof(udev->devpath));
pla_ocp_read(tp, PLA_IDR, sizeof(uinfo->dev_addr),
uinfo->dev_addr);

Expand Down

0 comments on commit 9983081

Please sign in to comment.