lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 10 Jul 2007 09:54:36 -0700
From:	David Brownell <david-b@...bell.net>
To:	Adrian Bunk <bunk@...sta.de>
Cc:	spi-devel-general@...ts.sourceforge.net,
	linux-kernel@...r.kernel.org
Subject: Re: [2.6 patch] spi.c:scan_boardinfo() mustn't be __init_or_module

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@...sta.de>

Acked-by: David Brownell <dbrownell@...rs.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;
> 


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists