Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967077AbWKVDte (ORCPT ); Tue, 21 Nov 2006 22:49:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S967078AbWKVDte (ORCPT ); Tue, 21 Nov 2006 22:49:34 -0500 Received: from mx1.redhat.com ([66.187.233.31]:18923 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S967077AbWKVDte (ORCPT ); Tue, 21 Nov 2006 22:49:34 -0500 Date: Tue, 21 Nov 2006 22:49:28 -0500 From: Dave Jones To: Linus Torvalds Cc: Jesper Juhl , Linux Kernel Mailing List , Andrew Morton Subject: Re: Simple script that locks up my box with recent kernels Message-ID: <20061122034928.GF533@redhat.com> Mail-Followup-To: Dave Jones , Linus Torvalds , Jesper Juhl , Linux Kernel Mailing List , Andrew Morton References: <9a8748490610081633k7bf011d1q131b2f9e06f2808d@mail.gmail.com> <9a8748490610161545i309c416aja4f39edef8ea04e2@mail.gmail.com> <9a8748490610161613y7c314e64rfdfafb4046a33a02@mail.gmail.com> <9a8748490610231330y65f3e243pe1101d11a28dbbfa@mail.gmail.com> <9a8748490611211646o2c92564dmfe8d6ffdf66228ba@mail.gmail.com> <20061122032512.GE533@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 615 Lines: 21 On Tue, Nov 21, 2006 at 07:44:45PM -0800, Linus Torvalds wrote: > > memset(buf, 0, SIZE); > > I'm just checking that you're paying attention. > > There's a reason sparse warns about the third parameter of a memset() > being zero ;) Heh, it's amazing how commonplace that mistake is. Come back bzero, all is forgiven.. Dave -- http://www.codemonkey.org.uk - 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/