All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Brownell <david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>
To: Adrian Bunk <bunk-HeJ8Db2Gnd6zQB+pC5nmwQ@public.gmane.org>
Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [2.6 patch] spi.c:scan_boardinfo() mustn't be __init_or_module
Date: Tue, 10 Jul 2007 09:54:36 -0700	[thread overview]
Message-ID: <200707100954.37027.david-b@pacbell.net> (raw)
In-Reply-To: <20070710124442.GV3492-HeJ8Db2Gnd6zQB+pC5nmwQ@public.gmane.org>

On Tuesday 10 July 2007, Adrian Bunk wrote:
> This patch fixes the following section mismatch:
> 
> <--  snip  -->
> 
> ...
>   MODPOST vmlinux
> WARNING: drivers/built-in.o(.text+0x889735): Section mismatch: reference to .init.text:scan_boardinfo (between 'spi_register_master' and '__unregister')
> ...
> 
> <--  snip  -->
> 
> Signed-off-by: Adrian Bunk <bunk-HeJ8Db2Gnd6zQB+pC5nmwQ@public.gmane.org>

Acked-by: David Brownell <dbrownell-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>

> 
> ---
> --- linux-2.6.22-rc6-mm1/drivers/spi/spi.c.old	2007-07-10 04:17:26.000000000 +0200
> +++ linux-2.6.22-rc6-mm1/drivers/spi/spi.c	2007-07-10 04:18:01.000000000 +0200
> @@ -302,8 +302,7 @@
>   * creates board info from kernel command lines
>   */
>  
> -static void __init_or_module
> -scan_boardinfo(struct spi_master *master)
> +static void scan_boardinfo(struct spi_master *master)
>  {
>  	struct boardinfo	*bi;
>  	struct device		*dev = master->cdev.dev;
> 



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

WARNING: multiple messages have this Message-ID (diff)
From: David Brownell <david-b@pacbell.net>
To: Adrian Bunk <bunk@stusta.de>
Cc: spi-devel-general@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject: Re: [2.6 patch] spi.c:scan_boardinfo() mustn't be __init_or_module
Date: Tue, 10 Jul 2007 09:54:36 -0700	[thread overview]
Message-ID: <200707100954.37027.david-b@pacbell.net> (raw)
In-Reply-To: <20070710124442.GV3492@stusta.de>

On Tuesday 10 July 2007, Adrian Bunk wrote:
> This patch fixes the following section mismatch:
> 
> <--  snip  -->
> 
> ...
>   MODPOST vmlinux
> WARNING: drivers/built-in.o(.text+0x889735): Section mismatch: reference to .init.text:scan_boardinfo (between 'spi_register_master' and '__unregister')
> ...
> 
> <--  snip  -->
> 
> Signed-off-by: Adrian Bunk <bunk@stusta.de>

Acked-by: David Brownell <dbrownell@users.sourceforge.net>

> 
> ---
> --- linux-2.6.22-rc6-mm1/drivers/spi/spi.c.old	2007-07-10 04:17:26.000000000 +0200
> +++ linux-2.6.22-rc6-mm1/drivers/spi/spi.c	2007-07-10 04:18:01.000000000 +0200
> @@ -302,8 +302,7 @@
>   * creates board info from kernel command lines
>   */
>  
> -static void __init_or_module
> -scan_boardinfo(struct spi_master *master)
> +static void scan_boardinfo(struct spi_master *master)
>  {
>  	struct boardinfo	*bi;
>  	struct device		*dev = master->cdev.dev;
> 



  parent reply	other threads:[~2007-07-10 16:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-10 12:44 [2.6 patch] spi.c:scan_boardinfo() mustn't be __init_or_module Adrian Bunk
2007-07-10 12:44 ` Adrian Bunk
     [not found] ` <20070710124442.GV3492-HeJ8Db2Gnd6zQB+pC5nmwQ@public.gmane.org>
2007-07-10 16:54   ` David Brownell [this message]
2007-07-10 16:54     ` David Brownell

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=200707100954.37027.david-b@pacbell.net \
    --to=david-b-ybekhbn/0ldr7s880joybq@public.gmane.org \
    --cc=bunk-HeJ8Db2Gnd6zQB+pC5nmwQ@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@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 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.