Xiang Xiao
1e696425fd
lpc43xx/usb: Fix gcc13.2 compiler error
Error: arch/arm/src/common/arm_internal.h:140:25: error: array subscript 0 is outside array bounds of 'volatile uint32_t[0]' {aka 'volatile long unsigned int[]'} [-Werror=array-bounds=]
140 | #define getreg32(a) (*(volatile uint32_t *)(a))
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
chip/lpc43_usb0dev.c:347:34: note: in expansion of macro 'getreg32'
347 | # define lpc43_getreg(addr) getreg32(addr)
| ^~~~~~~~
chip/lpc43_usb0dev.c:2605:15: note: in expansion of macro 'lpc43_getreg'
2605 | return (int)lpc43_getreg(LPC43_USBDEV_FRINDEX_OFFSET);
| ^~~~~~~~~~~~
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-12-19 08:36:49 +08:00
..
2023-05-21 09:52:08 -03:00
2023-12-11 17:00:10 -03:00
2021-03-28 00:32:09 -05:00
2023-07-16 14:39:20 -03:00
2022-05-03 16:50:52 +03:00
2022-05-03 16:50:52 +03:00
2022-12-14 02:33:56 +08:00
2022-09-24 21:26:56 +02:00
2022-05-03 16:50:52 +03:00
2022-05-03 16:50:52 +03:00
2021-03-28 00:32:09 -05:00
2023-05-13 00:31:26 +08:00
2022-01-16 11:11:14 -03:00
2022-03-14 09:32:17 +02:00
2022-01-16 11:11:14 -03:00
2021-03-28 00:32:09 -05:00
2022-12-14 02:33:56 +08:00
2022-05-03 16:50:52 +03:00
2022-05-03 16:50:52 +03:00
2022-03-14 09:32:17 +02:00
2023-08-30 14:34:20 +08:00
2022-05-03 16:50:52 +03:00
2021-03-28 00:32:09 -05:00
2022-09-26 08:04:58 +02:00
2021-03-28 00:32:09 -05:00
2023-12-16 05:26:16 -08:00
2022-01-16 11:11:14 -03:00
2022-11-14 09:34:04 +09:00
2022-05-03 16:50:52 +03:00
2022-03-14 09:32:17 +02:00
2022-01-16 11:11:14 -03:00
2022-03-14 09:32:17 +02:00
2021-03-28 00:32:09 -05:00
2022-11-14 09:34:04 +09:00
2022-05-03 16:50:52 +03:00
2022-07-29 11:15:40 +08:00
2023-12-11 08:43:26 -08:00
2021-03-28 00:32:09 -05:00
2023-02-01 23:47:44 +08:00
2021-03-28 00:32:09 -05:00
2022-03-14 09:32:17 +02:00
2022-01-16 11:11:14 -03:00
2022-03-14 09:32:17 +02:00
2021-03-28 00:32:09 -05:00
2022-05-03 16:50:52 +03:00
2022-05-03 16:50:52 +03:00
2023-06-26 19:14:08 +03:00
2022-04-20 21:05:45 +08:00
2021-03-28 00:32:09 -05:00
2023-05-21 09:52:08 -03:00
2022-05-03 16:50:52 +03:00
2023-05-21 09:52:08 -03:00
2021-03-28 00:32:09 -05:00
2022-11-14 09:34:04 +09:00
2022-05-03 16:50:52 +03:00
2023-08-30 14:34:20 +08:00
2022-05-03 16:50:52 +03:00
2022-11-14 09:34:04 +09:00
2022-05-03 16:50:52 +03:00
2022-09-24 21:26:56 +02:00
2021-03-28 00:32:09 -05:00
2023-02-03 23:22:41 +08:00
2023-05-21 09:52:08 -03:00
2022-05-03 16:50:52 +03:00
2022-03-14 09:32:17 +02:00
2022-03-14 09:32:17 +02:00
2022-01-16 11:11:14 -03:00
2023-12-19 08:36:49 +08:00
2022-05-03 16:50:52 +03:00
2021-03-28 00:32:09 -05:00
2021-03-28 00:32:09 -05:00
2022-05-03 16:50:52 +03:00
2022-05-03 16:50:52 +03:00
2022-12-14 02:33:56 +08:00