Re: [PATCH v5] tty: 8250: fix a missing check for pci_ioremap_bar

2019-03-25 Thread Jiri Slaby
On 24. 03. 19, 20:22, Aditya Pakki wrote: > pci_ioremap_bar could fail. The patch returns in case of failure to > acquire IOMEM. It also releases the acquired resource in the exit path. > > Signed-off-by: Aditya Pakki > > --- > v4: Missed resource release in dma_probe failure. > v3: Change the

[PATCH v5] tty: 8250: fix a missing check for pci_ioremap_bar

2019-03-24 Thread Aditya Pakki
pci_ioremap_bar could fail. The patch returns in case of failure to acquire IOMEM. It also releases the acquired resource in the exit path. Signed-off-by: Aditya Pakki --- v4: Missed resource release in dma_probe failure. v3: Change the order of pci_iounmap and dw_dma_remove v2: Failed to