From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Hansen Subject: Re: [PATCH 1/4] Some changes in the kobject mapper Date: Tue, 08 Jan 2008 11:17:28 -0800 Message-ID: <1199819848.9834.77.camel@localhost> References: <47833C3A.8090106@openvz.org> <47833D43.3090703@openvz.org> <4783C2B4.7000501@hozac.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4783C2B4.7000501-nym3zxDgnZcAvxtiuMwx3w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Daniel Hokka Zakrisson Cc: Linux Containers , Paul Menage , Pavel Emelyanov List-Id: containers.vger.kernel.org On Tue, 2008-01-08 at 19:36 +0100, Daniel Hokka Zakrisson wrote: > > > +void kobj_map_fini(struct kobj_map *map) > > +{ > > + int i; > > + struct probe *p, *next; > > + > > + for (i = 0; i < 256; i++) { > > This should be 255, shouldn't it? Neither, it should be a named constant. ;) -- Dave