From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ale.deltatee.com (ale.deltatee.com. [207.54.116.67]) by gmr-mx.google.com with ESMTPS id ci4si1774058pad.1.2016.06.11.08.30.53 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 11 Jun 2016 08:30:53 -0700 (PDT) References: From: Logan Gunthorpe Message-ID: <575C2EA6.9060208@deltatee.com> Date: Sat, 11 Jun 2016 09:30:46 -0600 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PATCH 7/8] ntb_pingpong: Add a debugfs file to get the ping count To: Allen Hubbe Cc: Jon Mason , Dave Jiang , Shuah Khan , Sudip Mukherjee , Arnd Bergmann , linux-kernel@vger.kernel.org, linux-ntb@googlegroups.com, linux-kselftest@vger.kernel.org List-ID: > The pp_debugfs_dir is already initialized by the module init function. > If it doesn't exist here, I think we should just return instead of > trying again. It's also worth noting, though it is probably no harm, > the code here does not check debugfs_initialized(). >> +static int __init tool_init(void) > > This should be pp_init() not tool_init(). Yup, this is just sloppy copying on my part. I copied from two different places. I'll fix these oversights. Thanks, Logan