diff options
| author | Peter Xu <peterx@redhat.com> | 2016-03-11 09:51:46 +0800 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2016-03-18 13:42:14 +0100 |
| commit | 182b391e797508deba9704cf580325e99260d8c8 (patch) | |
| tree | 355a04390a246c8426118b36f9ee7061df4fa7d3 /ui/input-keymap.c | |
| parent | 0ab6d12ffde7e9235a1b9d79437f5bdda5d80cf1 (diff) | |
| download | focaccia-qemu-182b391e797508deba9704cf580325e99260d8c8.tar.gz focaccia-qemu-182b391e797508deba9704cf580325e99260d8c8.zip | |
usb: fix unbounded stack warning for xhci_dma_write_u32s
All the callers for xhci_dma_write_u32s() are using mostly 5 * uint32_t in len. To avoid unbound stack warning for the function, make it statically allocated, and assert when it's not big enough in the future. Signed-off-by: Peter Xu <peterx@redhat.com> Message-id: 1457661106-9569-1-git-send-email-peterx@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/input-keymap.c')
0 files changed, 0 insertions, 0 deletions