Skip to content
Commit 58ecd9ad authored by Michal Simek's avatar Michal Simek
Browse files

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: default avatarMichal Simek <michal.simek@xilinx.com>
parent 38037652
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment