On Mon, Jun 11, 2018 at 08:15:11PM +0200, Christophe Jaillet wrote: > Before returning -EPERM we should release some resources, as already done > in the other error handling path of the function. > > Fixes: d8f9cc328c88 ("IB/mlx4: Mark user MR as writable if actual virtual memory is writable") > Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> > --- > drivers/infiniband/hw/mlx4/mr.c | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) Applied to for-rc, thanks Jason -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html