NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/25805
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