Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 11 Jun 2002 19:56:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 11 Jun 2002 19:56:21 -0400 Received: from [209.237.59.50] ([209.237.59.50]:39104 "EHLO zinfandel.topspincom.com") by vger.kernel.org with ESMTP id ; Tue, 11 Jun 2002 19:56:19 -0400 To: Thunder from the hill Cc: "David S. Miller" , , , , Linux Kernel Mailing List Subject: Re: PCI DMA to small buffers on cache-incoherent arch In-Reply-To: X-Message-Flag: Warning: May contain useful information X-Priority: 1 X-MSMail-Priority: High From: Roland Dreier Date: 11 Jun 2002 16:56:14 -0700 Message-ID: <52d6ux5q01.fsf@topspin.com> Lines: 10 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org >>>>> "Thunder" == Thunder from the hill writes: Thunder> You introduce a possible null pointer dereference here, Thunder> don't you? I left out the error checking for the allocations everywhere in my email. It wasn't real code and I thought that testing for NULL all over the place would obscure the real point. R. - 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/