lkml.org 
[lkml]   [2018]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [RFC PATCH] PCI: dwc: dw_pcie_ep_find_capability() can be static
    From
    Date
    Hi,

    Thanks for the suggestion.

    Regards,
    Gustavo

    On 18/06/2018 20:12, kbuild test robot wrote:
    >
    > Fixes: 43f8cf4686e0 ("PCI: dwc: Add MSI-X callbacks handler")
    > Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
    > ---
    > pcie-designware-ep.c | 2 +-
    > 1 file changed, 1 insertion(+), 1 deletion(-)
    >
    > diff --git a/drivers/pci/controller/dwc/pcie-designware-ep.c b/drivers/pci/controller/dwc/pcie-designware-ep.c
    > index beee64e..ffc2065 100644
    > --- a/drivers/pci/controller/dwc/pcie-designware-ep.c
    > +++ b/drivers/pci/controller/dwc/pcie-designware-ep.c
    > @@ -59,7 +59,7 @@ static u8 __dw_pcie_ep_find_next_cap(struct dw_pcie *pci, u8 cap_ptr,
    > return __dw_pcie_ep_find_next_cap(pci, next_cap_ptr, cap);
    > }
    >
    > -u8 dw_pcie_ep_find_capability(struct dw_pcie *pci, u8 cap)
    > +static u8 dw_pcie_ep_find_capability(struct dw_pcie *pci, u8 cap)
    > {
    > u8 next_cap_ptr;
    > u16 reg;
    >

    \
     
     \ /
      Last update: 2018-06-20 11:27    [W:4.474 / U:0.032 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site