Bug 172314 - compiler warning in linux-2.6-execshield.patch (mmap.c: warning: comparison of distinct pointer types lacks a cast)
Summary: compiler warning in linux-2.6-execshield.patch (mmap.c: warning: comparison o...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: i386
OS: Linux
medium
low
Target Milestone: ---
Assignee: Dave Jones
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-11-02 18:00 UTC by Marcin Garski
Modified: 2015-01-04 22:22 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-11-04 21:28:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Marcin Garski 2005-11-02 18:00:53 UTC
Vanilla kernel 2.6.14, patched with linux-2.6-execshield.patch (revision: 1.1),
gives following warning durring compile on FC4:

CC      mm/mmap.o
mm/mmap.c: In function âarch_get_unmapped_exec_areaâ:
mm/mmap.c:1422: warning: comparison of distinct pointer types lacks a cast

The affected line is:
tmp = randomize_range(0x01000000, PAGE_ALIGN(max(mm->start_brk, 0x08000000)), len);

Comment 1 Marcin Garski 2005-11-02 18:02:54 UTC
I file a bug in RH bugzilla because that line comes from linux-2.6-execshield.patch.


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