Re: [Linux-ia64] Re: patch for IA64: fix do_sys32_msgrcv bad address error.

From: R Sreelatha <rsreelat_at_in.ibm.com>
Date: 2002-09-06 13:57:30
David,
      Thanks. Yes, changing the types in the ipc_kludge structure would be
correct way to patch. I have incorporated the change suggested by you in my
code patch.

regards,
Sreelatha




                                                                                                           
                      "David S. Miller"                                                                    
                      <davem@redhat.com        To:       n0ano@n0ano.com                                   
                      >                        cc:       davidm@hpl.hp.com, R Sreelatha/India/IBM@IBMIN,   
                                                linux-ia64@linuxia64.org, linux-kernel@vger.kernel.org     
                      09/06/2002 08:49         Subject:  Re: [Linux-ia64] Re: patch for IA64: fix          
                      AM                        do_sys32_msgrcv bad address error.                         
                                                                                                           
                                                                                                           
                                                                                                           



   From: Don Dugger <n0ano@n0ano.com>
   Date: Thu, 5 Sep 2002 10:43:12 -0600

   Yes, but Dave Millier claims that this patch is still broken, he says
the
   fix needs to be in `ipc_kludge'.  I don't have access to my source tree
   until this evening, have you looked at this?

You didn't read David's patch at all, this is exactly what he is
doing, fixing the ipc_kludge declaration.

   On Thu, Sep 05, 2002 at 09:51:48AM -0700, David Mosberger wrote:
   > diff -Nru a/arch/ia64/ia32/sys_ia32.c b/arch/ia64/ia32/sys_ia32.c
   > --- a/arch/ia64/ia32/sys_ia32.c             Thu Sep  5 09:51:05 2002
   > +++ b/arch/ia64/ia32/sys_ia32.c             Thu Sep  5 09:51:05 2002
   > @@ -2111,8 +2111,8 @@
   >  };
   >
   >  struct ipc_kludge {
   > -             struct msgbuf *msgp;
   > -             long msgtyp;
   > +             u32 msgp;
   > +             s32 msgtyp;
   >  };
   >
   >  #define SEMOP                         1

See?
Received on Thu Sep 05 21:11:24 2002

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:10 EST