lkml.org 
[lkml]   [2008]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2.6.24] sym53c8xx_2 modpost section mismatch fix
On Sat, Jan 26, 2008 at 07:03:15PM +0100, Mikael Pettersson wrote:
> Building 2.6.24 with
>
> # CONFIG_HOTPLUG is not set
> CONFIG_SCSI_SYM53C8XX_2=y
>
> results in the following during modpost:
>
> WARNING: vmlinux.o(.text+0x14b36c): Section mismatch: reference to .exit.text:sym2_remove (between 'sym2_io_error_detected' and 'sym_set_cam_result_error')
>
> because sym2_io_error_detected() calls sym2_remove(), which is marked __devexit.
>
> Fixed by removing the __devexit from sym2_remove().
>
> Signed-off-by: Mikael Pettersson <mikpe@it.uu.se>
> ---
> Resend. Previously reported against 2.6.24-rc6 on 2007-12-15.

Fixed in upstream kernel by
commit: 864473bbbbcbe99e95a57ad496894768cd77a567

Sam


\
 
 \ /
  Last update: 2008-01-26 19:15    [W:0.082 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site