From: Simon Horman <horms-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org>
To: Kuninori Morimoto
	<kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
Cc: Shubhrajyoti Datta
	<omaplinuxkernel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Wolfram Sang <w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>,
	Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>,
	Ben Dooks <ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org>,
	Magnus <magnus.damm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Linux-I2C <linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Kuninori Morimoto
	<kuninori.morimoto.gx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	phil.edworthy-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org
Subject: Re: [PATCH] i2c: rcar: fixup section mismatch on rcar_i2c_probe/remove()
Date: Thu, 1 Nov 2012 08:22:45 +0800	[thread overview]
Message-ID: <20121101002234.GD8879@verge.net.au> (raw)
In-Reply-To: <877gq7m97r.wl%kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
On Tue, Oct 30, 2012 at 11:44:44PM -0700, Kuninori Morimoto wrote:
> This patch fixup below WARNING
> 
> make CONFIG_DEBUG_SECTION_MISMATCH=y
> ...
> WARNING: vmlinux.o(.data+0x11798): Section mismatch in reference from the variable rcar_i2c_drv to the function .devinit.text:rcar_i2c_probe()
> The variable rcar_i2c_drv references
> the function __devinit rcar_i2c_probe()
> If the reference is valid then annotate the
> variable with __init* or __refdata (see linux/init.h) or name the variable:
> *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
> 
> WARNING: vmlinux.o(.data+0x1179c): Section mismatch in reference from the variable rcar_i2c_drv to the function .devexit.text:rcar_i2c_remove()
> The variable rcar_i2c_drv references
> the function __devexit rcar_i2c_remove()
> If the reference is valid then annotate the
> variable with __exit* (see linux/init.h) or name the variable:
> *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
> 
> Reported-by: Simon Horman <horms-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
> ---
> Simon
> 
> Is this patch solve your issue ?
Yes, thanks.
Tested-by: Simon Horman <horms-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org>
next prev parent reply	other threads:[~2012-11-01  0:22 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-25  6:36 [PATCH] i2c: add Renesas R-Car I2C driver Kuninori Morimoto
     [not found] ` <871uk04aa2.wl%kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2012-08-28  0:19   ` Kuninori Morimoto
2012-08-28  4:48   ` Shubhrajyoti Datta
     [not found]     ` <CAM=Q2ctETiVdyKBd_MxY2Ts=1XMPa_cdEJRkQpEySL6du9oLmw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-08-28  5:33       ` Kuninori Morimoto
     [not found]         ` <878vczd1hw.wl%kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2012-08-28  5:39           ` Shubhrajyoti Datta
     [not found]             ` <CAM=Q2cs5pFpVjqa_MFCLTFqdCo6SSm-1Ep=WtJ7fpABzWEGD9w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-08-28  7:56               ` Kuninori Morimoto
2012-08-28  8:12               ` Jean Delvare
     [not found]                 ` <20120828101259.409b410b-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2012-08-28  8:37                   ` [PATCH v2] " Kuninori Morimoto
     [not found]                     ` <874nnnct03.wl%kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2012-09-28  1:57                       ` Kuninori Morimoto
     [not found]                         ` <878vbudi3v.wl%kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2012-09-28  3:49                           ` Simon Horman
2012-09-28  5:21                       ` Shubhrajyoti Datta
     [not found]                         ` <CAM=Q2cuGiNnduVa+nnNV_02dYwfrSJoFGesiFBm6Q5U3SGQXpQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-09-28  5:56                           ` Kuninori Morimoto
     [not found]                             ` <w3pmx0an11d.wl%kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2012-09-28  6:25                               ` Shubhrajyoti Datta
2012-09-28  6:44                           ` [PATCH v3] " Kuninori Morimoto
     [not found]                             ` <877gred4u1.wl%kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2012-10-08  9:47                               ` Wolfram Sang
2012-10-31  6:21                               ` Simon Horman
     [not found]                                 ` <20121031062128.GA31555-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org>
2012-10-31  6:44                                   ` [PATCH] i2c: rcar: fixup section mismatch on rcar_i2c_probe/remove() Kuninori Morimoto
     [not found]                                     ` <877gq7m97r.wl%kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2012-11-01  0:22                                       ` Simon Horman [this message]
2012-11-13 10:23                                       ` Wolfram Sang
2012-08-28  6:26   ` [PATCH] i2c: add Renesas R-Car I2C driver phil.edworthy-zM6kxYcvzFBBDgjK7y7TUQ
     [not found]     ` <OF0AA2687D.3C2F6EFC-ON80257A56.003BB6CC-80257A68.0023665F-mWMTcI9IYFFWk0Htik3J/w@public.gmane.org>
2012-08-28  7:00       ` Kuninori Morimoto
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=20121101002234.GD8879@verge.net.au \
    --to=horms-/r6kz+ddxgppr4jqbcensq@public.gmane.org \
    --cc=ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org \
    --cc=khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org \
    --cc=kuninori.morimoto.gx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org \
    --cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=magnus.damm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=omaplinuxkernel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=phil.edworthy-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org \
    --cc=w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).