lkml.org 
[lkml]   [2006]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 1/5] FDPIC: Fix FDPIC compile errors [try #2]
    David Howells <dhowells@redhat.com> wrote:
    >
    > From: David Howells <dhowells@redhat.com>
    >
    > The attached patch fixes FDPIC compile errors
    >
    > Signed-Off-By: David Howells <dhowells@redhat.com>
    > ---
    >
    > fs/binfmt_elf_fdpic.c | 1 +
    > 1 files changed, 1 insertions(+), 0 deletions(-)
    >
    > diff --git a/fs/binfmt_elf_fdpic.c b/fs/binfmt_elf_fdpic.c
    > index eba4e23..07624b9 100644
    > --- a/fs/binfmt_elf_fdpic.c
    > +++ b/fs/binfmt_elf_fdpic.c
    > @@ -459,6 +459,7 @@ #endif
    > */
    > hwcap = ELF_HWCAP;
    > k_platform = ELF_PLATFORM;
    > + u_platform = NULL;
    >
    > if (k_platform) {
    > platform_len = strlen(k_platform) + 1;

    Methinks it actually fixes a warning, which was promoted to an error by
    -Werror. Which was fixed by adding an unneeded assignment, all becasue gcc
    is dumb.

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-07-05 21:41    [W:0.024 / U:1.040 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site