diff options
| author | Kunwu Chan <chentao@kylinos.cn> | 2023-12-11 11:30:19 +0800 |
|---|---|---|
| committer | Kalle Valo <kvalo@kernel.org> | 2023-12-12 17:35:20 +0200 |
| commit | afd549903ea98bd21b9db2a409b227e893b7a70f (patch) | |
| tree | 82ec00ea8d3b79efbaa5125d91efcb2ea4ad3f1e /net/lapb/lapb_in.c | |
| parent | 0a999d82b782b55626e370ae2006dd51b48923ee (diff) | |
wifi: iwlegacy: Add null pointer check to il_leds_init()
kasprintf() returns a pointer to dynamically allocated memory
which can be NULL upon failure.
Cc: Kunwu Chan <kunwu.chan@hotmail.com>
Signed-off-by: Kunwu Chan <chentao@kylinos.cn>
Acked-by: Stanislaw Gruszka <stf_xl@wp.pl>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20231211033019.238149-1-chentao@kylinos.cn
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
