From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Carpenter Date: Sun, 21 Jul 2013 14:56:50 +0000 Subject: Re: [patch] intel_ips: fix error handling for debugfs_create_dir() Message-Id: <20130721145650.GE5636@mwanda> List-Id: References: <20130719055144.GE9729@elgon.mountain> In-Reply-To: <20130719055144.GE9729@elgon.mountain> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Matthew Garrett Cc: platform-driver-x86@vger.kernel.org, kernel-janitors@vger.kernel.org On Fri, Jul 19, 2013 at 08:51:44AM +0300, Dan Carpenter wrote: > If debugfs is not enabled then debugfs_create_dir() returns > ERR_PTR(-ENODEV). Also my static checker complains that we are trying > to print the error code, but it's is always just NULL. > Sorry about this. This patch is wrong. Please ignore. regards, dan carpenter