[Bug 1566] New: doubts on rtems_rootfs_append_host_rec

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Tue Jun 15 15:07:38 UTC 2010


https://www.rtems.org/bugzilla/show_bug.cgi?id=1566

           Summary: doubts on rtems_rootfs_append_host_rec
           Product: RTEMS
           Version: 4.10
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: filesystem
        AssignedTo: chrisj at rtems.org
        ReportedBy: ralf.corsepius at rtems.org
                CC: joel.sherrill at oarcorp.com


Created an attachment (id=791)
 --> (http://www.rtems.org/bugzilla/attachment.cgi?id=791)
Proposed patch

ATM, rtems_rootfs_append_host_rec takes a "long" as first argument.

This causes gcc to issue very nasty aliasing warnings in some very nasty calls
to this function RTEMS currently contains.

AFAICT, this argument likely should be of type "in_addr_t".

The attachment contains my attempts to address this issue. Please review it,
because I am not sure if it is correct.

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list