diff options
author | Takashi Iwai <[email protected]> | 2021-12-13 14:24:43 +0100 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2021-12-13 15:07:14 +0100 |
commit | c2f51415401cb8e9b7991e828ae12ab2972f2ca7 (patch) | |
tree | 51cfd0dc9b220a67ff101d3de4f8e6064448b9f5 /drivers/usb/cdns3/cdns3-imx.c | |
parent | 78977fd5b11cc90668c0dec6109d2f6572c9601c (diff) |
ALSA: gus: Fix erroneous memory allocation
snd_gf1_mem_xalloc() returns NULL incorrectly when the memory chunk is
allocated in the middle of the chain. This patch corrects the return
value to treat it properly.
Reviewed-by: Jaroslav Kysela <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions