aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorDaire McNamara <[email protected]>2023-07-28 14:13:59 +0100
committerLorenzo Pieralisi <[email protected]>2023-08-08 12:58:21 +0200
commit4f0b91247f78ccd702f2da5a17d4524101adfc7d (patch)
tree7bbce83bf3df6460c86e135b34e229e08c6175c0 /lib/test_fortify/write_overflow-strncpy-src.c
parentd1d6a0c9e79c595b3961d5b62594e058d811d6cb (diff)
PCI: microchip: Clean up initialisation of interrupts
Refactor interrupt handling in _init() function into disable_interrupts(), init_interrupts(), clear_sec_errors() and clear ded_errors() because current code is unwieldy and prone to bugs. Disable interrupts as soon as possible and only enable interrupts after address translation is setup to prevent spurious axi2pcie and pcie2axi translation errors being reported. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Daire McNamara <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Reviewed-by: Conor Dooley <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions