diff options
| author | Chen Ni <nichen@iscas.ac.cn> | 2026-02-05 15:26:49 +0800 |
|---|---|---|
| committer | Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> | 2026-02-05 18:00:45 +0100 |
| commit | e34f77b09080c86c929153e2a72da26b4f8947ff (patch) | |
| tree | f4c190ab2d19e220ce19fbf28d8c59a36a2115a3 /rust/alloc/collections/git@git.tavy.me:linux.git | |
| parent | c62e0658d458d8f100445445c3ddb106f3824a45 (diff) | |
gpio: loongson-64bit: Fix incorrect NULL check after devm_kcalloc()
Fix incorrect NULL check in loongson_gpio_init_irqchip().
The function checks chip->parent instead of chip->irq.parents.
Fixes: 03c146cb6cd1 ("gpio: loongson-64bit: Add support for Loongson-2K0300 SoC")
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Link: https://patch.msgid.link/20260205072649.3271158-1-nichen@iscas.ac.cn
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
