Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755182Ab0DBQxi (ORCPT ); Fri, 2 Apr 2010 12:53:38 -0400 Received: from cantor2.suse.de ([195.135.220.15]:51468 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755276Ab0DBQxP (ORCPT ); Fri, 2 Apr 2010 12:53:15 -0400 Date: Fri, 2 Apr 2010 09:53:24 -0700 From: Greg KH To: Anton Blanchard Cc: Andrew Morton , Wu Fengguang , Andi Kleen , Kay Sievers , linux-kernel@vger.kernel.org Subject: Re: [PATCH] devmem: Handle class_create() failure Message-ID: <20100402165324.GD32081@suse.de> References: <20100402072920.GH5594@kryten> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100402072920.GH5594@kryten> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 685 Lines: 20 On Fri, Apr 02, 2010 at 06:29:20PM +1100, Anton Blanchard wrote: > > I hit this when we had a bug in IDR for a few days. Basically sysfs would > fail to create new inodes since it uses an IDR and therefore class_create would > fail. > > While we are unlikely to see this fail we may as well handle it instead of > oopsing. Is this something that we need for .34? How were you getting this to fail in the first place? thanks, greg k-h -- 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/