commit | 049c65bcf6b9991de7f49095930c1ad2e15ce099 | [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 | c7f95ed3a059bc6c2e037ec8453b972e39c6ff92 [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>