From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Hilman Subject: Re: [PATCH] ARM: OMAP2+: PM debug: fix the use of debugfs_create_* API Date: Wed, 01 Feb 2012 09:37:39 -0800 Message-ID: <87k446fo9o.fsf@ti.com> References: <1328008819-1110-1-git-send-email-j-pihet@ti.com> <1328085451-23225-1-git-send-email-j-pihet@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from na3sys009aog114.obsmtp.com ([74.125.149.211]:38566 "EHLO na3sys009aog114.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755737Ab2BARhn (ORCPT ); Wed, 1 Feb 2012 12:37:43 -0500 Received: by mail-pw0-f48.google.com with SMTP id c11so1487281pbc.21 for ; Wed, 01 Feb 2012 09:37:38 -0800 (PST) In-Reply-To: <1328085451-23225-1-git-send-email-j-pihet@ti.com> (Jean Pihet's message of "Wed, 1 Feb 2012 09:37:31 +0100") Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Jean Pihet Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Paul Walmsley , Jean Pihet Jean Pihet writes: > Check the return code pointer value from debugfs_create_dir for error > or NULL. > Also added an additional check to prevent the creation of a 'suspend' > entry at the debugfs root in case a power domain directory cannot be > created. > > Signed-off-by: Jean Pihet Thanks, queing for v3.4. Kevin From mboxrd@z Thu Jan 1 00:00:00 1970 From: khilman@ti.com (Kevin Hilman) Date: Wed, 01 Feb 2012 09:37:39 -0800 Subject: [PATCH] ARM: OMAP2+: PM debug: fix the use of debugfs_create_* API In-Reply-To: <1328085451-23225-1-git-send-email-j-pihet@ti.com> (Jean Pihet's message of "Wed, 1 Feb 2012 09:37:31 +0100") References: <1328008819-1110-1-git-send-email-j-pihet@ti.com> <1328085451-23225-1-git-send-email-j-pihet@ti.com> Message-ID: <87k446fo9o.fsf@ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Jean Pihet writes: > Check the return code pointer value from debugfs_create_dir for error > or NULL. > Also added an additional check to prevent the creation of a 'suspend' > entry at the debugfs root in case a power domain directory cannot be > created. > > Signed-off-by: Jean Pihet Thanks, queing for v3.4. Kevin