Merge branch 'stmmac-dma-resources-fixes'
authorDavid S. Miller <davem@davemloft.net>
Tue, 11 Jul 2017 20:33:54 +0000 (13:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Jul 2017 20:33:54 +0000 (13:33 -0700)
commitf4e27944f9cf9a94dd9b37a834512586c1f1a5d2
treece479bf3ac59368375a4f1c3f86906c838bc6e42
parentfdf99b3ffcdd8471ee3104512198a178b7351a02
parent6224226030da93c062621527fd0070be3f718a88
Merge branch 'stmmac-dma-resources-fixes'

Christophe JAILLET says:

====================
net: stmmac: Fixes and cleanups in 'alloc_dma_[rt]x_desc_resources()'

These patchs are all related to 'alloc_dma_[rt]x_desc_resources()' functions.

The 2 first fix an error path where some resources are leaking. I've
separated them into 2 patches because the issues have been introduced by
2 deferent commits.

The 3rd patch is just a clean-up.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>