commit | c02eb30bbfbe2487753eb52078015f5a617a3dd1 | [log] [tgz] |
---|---|---|
author | Torstein Grindvik <torstein.grindvik@nordicsemi.no> | Wed Sep 30 10:36:26 2020 +0200 |
committer | Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no> | Fri Oct 02 18:48:46 2020 +0200 |
tree | cae61910bec49681afc4a9a955bffd2ad67d69e1 | |
parent | 780fa73b832f9d49f755b17af1176f503a6dad92 [diff] |
gen_isr_tables: Function ptr instead of (void *) gen_isr_tables.py generates C-code which initializes a table with values, and these values are structs with members cast to (const void *) and (void *), respectively. The actual struct definition has a member of type (const void *) and another of type void (*)(const void *). In order to avoid a large amount of reported issues in Coverity, cast this to the exact type. Signed-off-by: Torstein Grindvik <torstein.grindvik@nordicsemi.no>