summaryrefslogtreecommitdiff
path: root/netsniff-ng.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2014-09-01 16:11:34 +0200
committerTobias Klauser <tklauser@distanz.ch>2014-09-01 16:11:34 +0200
commitb91143ff4258957189331cf63c2e58cace471614 (patch)
tree69bf95058dd1a18079e761dc29c2cdae77490bd8 /netsniff-ng.c
parent03f5d65f039bcccfcb8f8aeba14876e308e68dce (diff)
trafgen: Replace variable length arrays
Use zmalloc()'ed buffer or statically sized array to replace usage of variable sized arrays. Found by the sparse static checker. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'netsniff-ng.c')
0 files changed, 0 insertions, 0 deletions
or is UNPREDICTABLE"). While this could be worked around in each individual driver, it may make more sense to tackle the issue at the core level. In order to avoid getting in that situation, let's have a per-interrupt flag to remember if we have already activated that interrupt or not. Fixes: f3b0946d629c ("genirq/msi: Make sure PCI MSIs are activated early") Reported-and-tested-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Cc: stable@vger.kernel.org Link: http://lkml.kernel.org/r/1484668848-24361-1-git-send-email-marc.zyngier@arm.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'sound/usb/mixer_scarlett.h')