Re: How to fix a module's Section mismatch warnings?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi...

On Fri, Jul 16, 2010 at 21:53, Bob Beers <bob.beers@xxxxxxxxx> wrote:
> Hello,
>
> I have read that, "These are typically caused by an .text function calling
>  into .init.text code ie) code that is declared as __init, __devinit, etc.."
>
> I am compiling a GPL'd, but not in-kernel, driver and I see several
>  Section mismatch warnings.  And I am seeing kernel panics while
>  trying to use the driver.  I would like to fix the issues, but I don't
>  recognize any of the referenced code from the warnings in the
>  driver code.  How do I figure out where to fix it?

Could it be due to custom linker script used in your driver code?


-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux