[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <961aa3350707160953y2c50ce44j5fb7fd8559120bae@mail.gmail.com>
Date: Tue, 17 Jul 2007 01:53:00 +0900
From: "Akinobu Mita" <akinobu.mita@...il.com>
To: "Greg KH" <gregkh@...e.de>
Cc: linux-kernel@...r.kernel.org,
"Pekka Enberg" <penberg@...helsinki.fi>
Subject: Re: [PATCH 1/10] sysfs: fix kmem_cache_free(NULL)
2007/7/17, Greg KH <gregkh@...e.de>:
> On Mon, Jul 16, 2007 at 10:50:28PM +0900, Akinobu Mita wrote:
> > This patch fixes out of memory error handling in sysfs_new_dirent().
> > kmem_cache_free() with NULL is not allowed.
>
> Why not just allow kmem_cache_free() to allow NULL like other functions
> in the kernel?
It seems there was discussion about this and no conclusion
yet?
http://lkml.org/lkml/2007/3/19/42
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists