diff options
| author | Dan Carpenter <[email protected]> | 2019-06-24 16:47:17 +0300 |
|---|---|---|
| committer | Borislav Petkov <[email protected]> | 2019-08-07 10:37:34 +0200 |
| commit | 8faa1cf6ed82f33009f63986c3776cc48af1b7b2 (patch) | |
| tree | b04fdf89d6b3600dd360371aa67e8b4920fc9d6f /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 3724ace582d9f675134985727fd5e9811f23c059 (diff) | |
EDAC/altera: Use the proper type for the IRQ status bits
Smatch complains about the cast of a u32 pointer to unsigned long:
drivers/edac/altera_edac.c:1878 altr_edac_a10_irq_handler()
warn: passing casted pointer '&irq_status' to 'find_first_bit()'
This code wouldn't work on a 64 bit big endian system because it would
read past the end of &irq_status.
[ bp: massage. ]
Fixes: 13ab8448d2c9 ("EDAC, altera: Add ECC Manager IRQ controller support")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Reviewed-by: Thor Thayer <[email protected]>
Cc: James Morse <[email protected]>
Cc: [email protected]
Cc: linux-edac <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Cc: Tony Luck <[email protected]>
Link: https://lkml.kernel.org/r/20190624134717.GA1754@mwanda
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions