diff options
| author | Lorenzo Bianconi <lorenzo@kernel.org> | 2022-04-04 10:08:10 +0200 |
|---|---|---|
| committer | Felix Fietkau <nbd@nbd.name> | 2022-05-13 09:39:34 +0200 |
| commit | 9bd6823f5a64b6465708b244eecc9b7dd4b01bfc (patch) | |
| tree | 647874c3d90c3999e98e1766cf32529a8ddbd3a1 /lib/mpi/mpicoder.c | |
| parent | 4e90db5e21eb3bb272fe47386dc3506755e209e9 (diff) | |
mt76: mt7915: fix possible uninitialized pointer dereference in mt7986_wmac_gpio_setup
Add default case for type switch in mt7986_wmac_gpio_setup routine in
order to avoid a possible uninitialized pointer dereference.
Fixes: 99ad32a4ca3a2 ("mt76: mt7915: add support for MT7986")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions
