Add missing bug fixes in memory areas. This patch series carries following fixes: - Add proper checks to fastrpc_buf_free to avoid potential issues. - Add multiple fixes for remote heap which is used by Audio PD. Patch [v1]: https://lore.kernel.org/all/[email protected]/
Changes in v2: - Remove the if check outside fastrpc_buf_free - Store the spinlock pointer in the struct fastrpc_buf instead - Allocate entire reserved memory to audio PD through remote heap Ekansh Gupta (3): misc: fastrpc: Add NULL check to fastrpc_buf_free to prevent crash misc: fastrpc: Fix initial memory allocation for Audio PD memory pool misc: fastrpc: Remove buffer from list prior to unmap operation Jianping Li (1): misc: fastrpc: Allocate entire reserved memory for Audio PD in probe drivers/misc/fastrpc.c | 135 ++++++++++++++++++++++------------------- 1 file changed, 71 insertions(+), 64 deletions(-) -- 2.43.0
