hc
2024-05-10 cde9070d9970eef1f7ec2360586c802a16230ad8
kernel/drivers/usb/gadget/udc/goku_udc.c
....@@ -125,11 +125,14 @@
125125 max = get_unaligned_le16(&desc->wMaxPacketSize);
126126 switch (max) {
127127 case 64:
128
- mode++; /* fall through */
128
+ mode++;
129
+ fallthrough;
129130 case 32:
130
- mode++; /* fall through */
131
+ mode++;
132
+ fallthrough;
131133 case 16:
132
- mode++; /* fall through */
134
+ mode++;
135
+ fallthrough;
133136 case 8:
134137 mode <<= 3;
135138 break;
....@@ -1783,7 +1786,7 @@
17831786 }
17841787 dev->got_region = 1;
17851788
1786
- base = ioremap_nocache(resource, len);
1789
+ base = ioremap(resource, len);
17871790 if (base == NULL) {
17881791 DBG(dev, "can't map memory\n");
17891792 retval = -EFAULT;
....@@ -1844,7 +1847,7 @@
18441847 MODULE_DEVICE_TABLE (pci, pci_ids);
18451848
18461849 static struct pci_driver goku_pci_driver = {
1847
- .name = (char *) driver_name,
1850
+ .name = driver_name,
18481851 .id_table = pci_ids,
18491852
18501853 .probe = goku_probe,