FAQ: [#6170] section mismatches in cifs code(2010)

Document created by Aaronwu Employee on Sep 11, 2013
Version 1Show Document
  • View in full screen mode

[#6170] section mismatches in cifs code

Submitted By: Mike Frysinger

Open Date

2010-08-10 13:10:42    

Priority:

Medium     Assignee:

Nobody

Status:

Open     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

Category:

N/A     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Upstream

Uboot version or rev.:

    Toolchain version or rev.:

trunk

App binary format:

N/A     

Summary: section mismatches in cifs code

Details:

 

WARNING: fs/cifs/cifs.o(.init.text+0x218): Section mismatch in reference from the function _init_cifs() to the function .exit.text:_cifs_exit_dns_resolver()

The function __init _init_cifs() references

a function __exit _cifs_exit_dns_resolver().

This is often seen when error handling in the init function

uses functionality in the exit path.

The fix is often to remove the __exit annotation of

_cifs_exit_dns_resolver() so it may be used outside an exit section.

 

Follow-ups

No Messages Were Found

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

randconfig-8.log    text/plain    9561    Mike Frysinger

randconfig-8.config    application/octet-stream    57936    Mike Frysinger

Outcomes