diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-03-05 15:13:10 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-03-05 15:15:56 +0400 |
commit | 4913cd6964d9548d8636ac87e05b7db6c486add5 (patch) | |
tree | d4aecf950338eacd756757cfca504488f3e86001 /mm/failslab.c | |
parent | 4f50b41fa3deb541364462f3014e0b9d09b91f75 (diff) | |
download | linux-4913cd6964d9548d8636ac87e05b7db6c486add5.tar.xz |
ALSA: emu10k1: Fix possible NULL dereference
The previous dev_err() conversion resulted in a code that may give
NULL dereference in snd_emu10k1_ptr_write(). Since it's a sanity
check, better to be replaced with a debug macro like other places in
this driver.
Fixes: 6f002b02166c ('ALSA: emu10k1: Use standard printk helpers')
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'mm/failslab.c')
0 files changed, 0 insertions, 0 deletions