When we build tests/kernel/common/kernel.common.misra on bl654_usb we get the following error: subsys/usb/usb_descriptor.c:313:2: error: ISO C90 forbids array 'hwid' whose size cannot be evaluated [-Werror=vla] Fix by removing use of usblen variable in array. Signed-off-by: Kumar Gala <kumar.gala@linaro.org> |
||
|---|---|---|
| .. | ||
| class | ||
| bos.c | ||
| CMakeLists.txt | ||
| Kconfig | ||
| os_desc.c | ||
| os_desc.h | ||
| usb_descriptor.c | ||
| usb_descriptor.h | ||
| usb_device.c | ||
| usb_transfer.c | ||
| usb_transfer.h | ||
| usb_work_q.c | ||
| usb_work_q.h | ||