sparc: Fix sbus_alloc_coherent error handling.
Order of kfree and free_pages were swapped in the error handling. Signed-off-by: NKristoffer Glembo <kristoffer@gaisler.com> Acked-by: NSam Ravnborg <sam@ravnborg.org> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录