diff options
author | Thorsten Blum <thorsten.blum@linux.dev> | 2025-07-03 23:06:13 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2025-07-04 10:04:12 +0300 |
commit | 043faef334a1f3d96ae88e1b7618bfa2b4946388 (patch) | |
tree | 574450643938417389f36ddb154cacb4f601c130 /net/lapb/lapb_timer.c | |
parent | db98ee56851061082fecd7e6b4b6a93600562ec2 (diff) | |
download | linux-043faef334a1f3d96ae88e1b7618bfa2b4946388.tar.xz |
ALSA: ad1816a: Fix potential NULL pointer deref in snd_card_ad1816a_pnp()
Use pr_warn() instead of dev_warn() when 'pdev' is NULL to avoid a
potential NULL pointer dereference.
Cc: stable@vger.kernel.org
Fixes: 20869176d7a7 ("ALSA: ad1816a: Use standard print API")
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20250703200616.304309-2-thorsten.blum@linux.dev
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions