Bug 676346 - drivers/xen/events.c clean up section mismatch warning
Summary: drivers/xen/events.c clean up section mismatch warning
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kernel
Version: 6.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Andrew Jones
QA Contact: Guangze Bai
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-09 15:40 UTC by Andrew Jones
Modified: 2015-02-08 21:36 UTC (History)
3 users (show)

Fixed In Version: kernel-2.6.32-117.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-23 20:39:22 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:0542 0 normal SHIPPED_LIVE Important: Red Hat Enterprise Linux 6.1 kernel security, bug fix and enhancement update 2011-05-19 11:58:07 UTC

Description Andrew Jones 2011-02-09 15:40:10 UTC
A recent backport (commit f3da3a2a5856b55520e93edb1c5452d555cb4b4b) introduced compiler warnings for section mismatches

WARNING: drivers/xen/built-in.o(.data+0x0): Section mismatch in reference from the variable cpu_evtchn_mask_p to the variable .init.data:init_evtchn_mask
The variable cpu_evtchn_mask_p references
the variable __initdata init_evtchn_mask
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console, 

The fix is described in the warning, annotate the variable with __refdata

Comment 1 RHEL Program Management 2011-02-09 17:11:19 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux maintenance release. Product Management has 
requested further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed 
products. This request is not yet committed for inclusion in an Update release.

Comment 2 Aristeu Rozanski 2011-02-18 22:31:25 UTC
Patch(es) available on kernel-2.6.32-117.el6

Comment 7 Guangze Bai 2011-04-06 10:23:00 UTC
Section mismatch warning reproduced in the kernel-2.6.32-113.el6.src.rpm.By testing,the bug has gone in kernel-2.6.32-117.el6.src.rpm,so this bug fix is
verified.

Comment 8 errata-xmlrpc 2011-05-23 20:39:22 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0542.html


Note You need to log in before you can comment on or make changes to this bug.