NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/25805



The following reply was made to PR kern/25805; it has been noted by GNATS.

From: jnemeth%victoria.tc.ca@localhost (John Nemeth)
To: gnats-bugs%NetBSD.org@localhost, kern-bug-people%NetBSD.org@localhost, 
netbsd-bugs%NetBSD.org@localhost,
        vbasicnet%tiscali.it@localhost
Cc: 
Subject: Re: kern/25805
Date: Sun, 20 Jan 2008 01:18:44 -0800

 On May 6,  6:22am, Sergey Svishchev wrote:
 } The following reply was made to PR kern/25805; it has been noted by GNATS.
 } 
 } From: Sergey Svishchev <svs+pr%grep.ru@localhost>
 } To: gnats-bugs%netbsd.org@localhost
 } Date: Sat, 19 Jan 2008 21:14:37 +0300
 } 
 }  This still fails in 4.0:
 }  
 }  <...>
 }      compile  i386.NATM/natm.o
 }  cc1: warnings being treated as errors
 }  /vol/2/s/src-4-0/sys/netnatm/natm.c: In function 'natm_usrreq':
 }  /vol/2/s/src-4-0/sys/netnatm/natm.c:100: warning: unused variable 'p'
 
      Try applying the following patch (if it works, I'll make a pullup
 request):
 
 @@ -96,9 +96,6 @@ struct proc *p;
    struct atm_rawioctl ario;
    struct ifnet *ifp;
    int proto = so->so_proto->pr_protocol;
 -#if defined(__NetBSD__)
 -  struct proc *p = l ? l->l_proc : NULL;
 -#endif
  
    s = SPLSOFTNET();
  
 
 }-- End of excerpt from Sergey Svishchev
 



Home | Main Index | Thread Index | Old Index