[LTP] [PATCH] ltp_tpci.c: fix a null pointer
Li Wang
liwang@redhat.com
Mon Apr 13 08:21:04 CEST 2020
Yang Xu <xuyang2018.jy@cn.fujitsu.com> wrote:
...
> > I was about to post the same fix on the mailing list - just tested in
> > powerpc arch and it looks good to me.
> >
> > It is safe to use 0 since function pci_get_bus_and_slot(unsigned int
> > bus, unsigned int devfn) removed on kernel commit <5cf0c37a71da0f3>
> > ("PCI: Remove pci_get_bus_and_slot() function") used to be a wrapper for
> > pci_get_domain_bus_and_slot(0, bus, devfn).
>
> Sorry for the late reply. Thanks for your review. I think this should be
> added into commit message, so make this fix more clear.
>
I helped to add the hint messages and pushed. Thanks for your fix/review.
--
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20200413/347b917f/attachment.htm>
More information about the ltp
mailing list