aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2016-11-14 12:59:35 +0000
committerMartin K. Petersen <[email protected]>2016-11-14 18:35:48 -0500
commit7dc62d935459fc48778d9306f2094a8fd16614dd (patch)
tree1be88dacd10f7bf4d4e4f1c62505feaabbdee629 /scripts/gcc-plugins/cyc_complexity_plugin.c
parent63eb7b6bc7a35ce66dbf829850ad9b46fb3ecf5e (diff)
scsi: hpsa: free irq on q indexed by h->intr_mode and not i
Use correct index on q, use h->intr_mode instead of i. Issue detected using static analysis with cppcheck Fixes: bc2bb1543e62a5d0 ("scsi: hpsa: use pci_alloc_irq_vectors and automatic irq affinity") Signed-off-by: Colin Ian King <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Acked-by: Don Brace <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions