diff options
author | Thomas Gleixner <[email protected]> | 2022-11-21 15:39:29 +0100 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2022-12-06 12:50:17 +0100 |
commit | 55721afa8d8b82e442cb4eaf7173330f79cbfb48 (patch) | |
tree | 067c48005571bebd4ecb4d4070e88fdf917b48e3 /lib/mpi/mpiutil.c | |
parent | fa5745aca1dc819aee6463a2475b5c277f7cf8f6 (diff) |
irqchip/irq-mvebu-icu: Fix works by chance pointer assignment
Assigning a void pointer which points to a struct to two different data
types only works by chance if the second type is the first member of the
struct.
Replace this works by chance code by using the primary struct pointer.
Signed-off-by: Thomas Gleixner <[email protected]>
Acked-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions