commit | 58ecd9ad0be3b0c4c3e278b718dada687f7e0d9d | [log] [tgz] |
---|---|---|
author | Michal Simek <michal.simek@xilinx.com> | Thu Feb 06 14:36:46 2020 +0100 |
committer | Michal Simek <michal.simek@xilinx.com> | Fri Feb 28 12:04:10 2020 +0100 |
tree | e306851d81f134db04699d69583b501d123f9daa | |
parent | 380376520f726ee7544c2fcd3c114187f01a6f27 [diff] |
net: zynq: Free allocated buffers in case of error Driver probe function is called again and again in case of error. Malloc space is getting full which is is reported by: Insufficient RAM for page table: 0x15000 > 0x14000. Please increase the size in get_page_table_size() ### ERROR ### Please RESET the board ### The patch is freeing allocated buffers on error path to avoid panic. Signed-off-by: Michal Simek <michal.simek@xilinx.com>