All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bjorn Helgaas <helgaas@kernel.org>
To: Niklas Cassel <niklas.cassel@axis.com>
Cc: bhelgaas@google.com, linux-pci@vger.kernel.org, jespern@axis.com,
	Niklas Cassel <niklass@axis.com>
Subject: Re: [PATCH] PCI: artpec: correct section mismatch for function artpec6_pcie_probe
Date: Tue, 14 Jun 2016 14:40:03 -0500	[thread overview]
Message-ID: <20160614194003.GA6003@localhost> (raw)
In-Reply-To: <1465932023-10606-1-git-send-email-niklass@axis.com>

On Tue, Jun 14, 2016 at 09:20:23PM +0200, Niklas Cassel wrote:
> From: Niklas Cassel <niklas.cassel@axis.com>
> 
> WARNING: drivers/pci/host/built-in.o(.data+0xb00): Section mismatch in reference from the variable artpec6_pcie_driver to the function .init.text:artpec6_pcie_probe()
> 
> Signed-off-by: Niklas Cassel <niklas.cassel@axis.com>

Folded into the pci/host-artpec branch, thanks, Niklas!

> ---
> Reported by kbuild test robot.
> I converted to using module_platform_driver macro in
> v2 of this series, unfortunately I missed the
> section mismatch warning.
> Feel free to fold this into the original patch.
> 
>  drivers/pci/host/pcie-artpec6.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/pci/host/pcie-artpec6.c b/drivers/pci/host/pcie-artpec6.c
> index 19adc77..be54fad 100644
> --- a/drivers/pci/host/pcie-artpec6.c
> +++ b/drivers/pci/host/pcie-artpec6.c
> @@ -223,7 +223,7 @@ static int __init artpec6_add_pcie_port(struct pcie_port *pp,
>  	return 0;
>  }
>  
> -static int __init artpec6_pcie_probe(struct platform_device *pdev)
> +static int artpec6_pcie_probe(struct platform_device *pdev)
>  {
>  	struct artpec6_pcie *artpec6_pcie;
>  	struct pcie_port *pp;
> -- 
> 2.1.4
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-pci" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

      reply	other threads:[~2016-06-14 19:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-14  7:11 [pci:pci/host-artpec 2/2] WARNING: drivers/built-in.o(.data+0x494b8): Section mismatch in reference from the variable artpec6_pcie_driver to the function .init.text:artpec6_pcie_probe() kbuild test robot
2016-06-14 19:20 ` [PATCH] PCI: artpec: correct section mismatch for function artpec6_pcie_probe Niklas Cassel
2016-06-14 19:40   ` Bjorn Helgaas [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160614194003.GA6003@localhost \
    --to=helgaas@kernel.org \
    --cc=bhelgaas@google.com \
    --cc=jespern@axis.com \
    --cc=linux-pci@vger.kernel.org \
    --cc=niklas.cassel@axis.com \
    --cc=niklass@axis.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.