On Sun, Mar 24, 2019 at 2:26 PM Andy Shevchenko
wrote:
> On Sun, Mar 24, 2019 at 2:05 PM Andy Shevchenko
> wrote:
> > On Sun, Mar 24, 2019 at 12:55 AM Aditya Pakki wrote:
> > >
> > > pci_ioremap_bar could fail. The fix captures the failure and
> > > pass an error code upstream. This can avoid
On Sun, Mar 24, 2019 at 2:05 PM Andy Shevchenko
wrote:
> On Sun, Mar 24, 2019 at 12:55 AM Aditya Pakki wrote:
> >
> > pci_ioremap_bar could fail. The fix captures the failure and
> > pass an error code upstream. This can avoid potential NULL
> > pointer dereferences in the future.
> >
>
> NAK.
>
On Sun, Mar 24, 2019 at 12:55 AM Aditya Pakki wrote:
>
> pci_ioremap_bar could fail. The fix captures the failure and
> pass an error code upstream. This can avoid potential NULL
> pointer dereferences in the future.
>
NAK.
This will break non-DMA case.
> Signed-off-by: Aditya Pakki
>
> ---
>
pci_ioremap_bar could fail. The fix captures the failure and
pass an error code upstream. This can avoid potential NULL
pointer dereferences in the future.
Signed-off-by: Aditya Pakki
---
v1: Missed return by default in CONFIG_SERIAL_8250_DMA, suggested by
Jiri Slaby
---
4 matches
Mail list logo