Re: [PATCH] atm: zatm: Fix an error handling path in 'zatm_init_one()'

2017-07-18 Thread David Miller
From: Christophe JAILLET Date: Mon, 17 Jul 2017 19:42:41 +0200 > If 'dma_set_mask_and_coherent()' fails, we must undo the previous > 'pci_request_regions()' call. > Adjust corresponding 'goto' to jump at the right place of the error > handling path. > >

Re: [PATCH] atm: zatm: Fix an error handling path in 'zatm_init_one()'

2017-07-18 Thread David Miller
From: Christophe JAILLET Date: Mon, 17 Jul 2017 19:42:41 +0200 > If 'dma_set_mask_and_coherent()' fails, we must undo the previous > 'pci_request_regions()' call. > Adjust corresponding 'goto' to jump at the right place of the error > handling path. > > Signed-off-by: Christophe JAILLET

[PATCH] atm: zatm: Fix an error handling path in 'zatm_init_one()'

2017-07-17 Thread Christophe JAILLET
If 'dma_set_mask_and_coherent()' fails, we must undo the previous 'pci_request_regions()' call. Adjust corresponding 'goto' to jump at the right place of the error handling path. Signed-off-by: Christophe JAILLET --- drivers/atm/zatm.c | 2 +- 1 file changed, 1

[PATCH] atm: zatm: Fix an error handling path in 'zatm_init_one()'

2017-07-17 Thread Christophe JAILLET
If 'dma_set_mask_and_coherent()' fails, we must undo the previous 'pci_request_regions()' call. Adjust corresponding 'goto' to jump at the right place of the error handling path. Signed-off-by: Christophe JAILLET --- drivers/atm/zatm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff