Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp6076282imm; Mon, 23 Jul 2018 10:59:31 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfq/9EKUq1B177cZ55puEQgsOPlz3aXiUVLw9AutMquBDFtr7o3FY826sEYcxVqkBiyu4lv X-Received: by 2002:a63:d15:: with SMTP id c21-v6mr13286092pgl.322.1532368771921; Mon, 23 Jul 2018 10:59:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532368771; cv=none; d=google.com; s=arc-20160816; b=O3g99mDBQkceh5KgYnO6yOLpVQmH6EFgtgx4A155KmUe1F259sIShQ0QZGymEs1PIq Ku/aBxZkdyEHkrXD3+jKavHMzry5iUPZjJwkSM3RBdeL5FQYPxwmI4D9ZEyF3P29WSwu IuFVO2q25SLtMx3qL+L2gHWKmdaSlknrECokSeRHachrksX0qUSfHspsum6iTyHwN+rW 0xKMSPdQgGB2jFCCb3o3bfMvRw/hKWGBvxUhKhq4oqUdAZPY13Iu/GrZzLYLx6SbATCR 2WvuLBIfTHtwaJOV9oz5rAhr6ubIpPxKYQUqx4rvWTdlzgRaPXd9uKByoupm1qN62ViO oklQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:arc-authentication-results; bh=mMfwXaocuc6MYlnKb8IpElAeuBKW99aPJc0bpgK2WVM=; b=RNpiskSAHnI6kWZVNmMTvE5NFp9BX2ExImA+frdF54835ou/BwwPFNoBAOcwdW3zgs wdakgZplRnoo7+VbdEk217Xv05mpyta9+goVBx91h5JvzodHaWc7uW2aufHL/Pp11zFK vMIiAgt93JQOk03u5Mu7YT3PRz7LyoyQbSKrP4986KFEQ4ulPU/qFmTe0syMCn9OhO8H Hm0hEuIVzENY88WjmlH1bF9nzi+3b73m32PzW7t4urn0iUfdBPa8GQIFZ2lXQ0OIDb7S 4clY7T28b8jkNWYljzHgitW7sZ3qbrkdaaCueE4IxkYVMkuUqN6/E134sFZgnoKkDfqJ cg6w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p6-v6si522235pfh.266.2018.07.23.10.59.17; Mon, 23 Jul 2018 10:59:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388476AbeGWTAO (ORCPT + 99 others); Mon, 23 Jul 2018 15:00:14 -0400 Received: from ale.deltatee.com ([207.54.116.67]:58384 "EHLO ale.deltatee.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387981AbeGWTAN (ORCPT ); Mon, 23 Jul 2018 15:00:13 -0400 Received: from guinness.priv.deltatee.com ([172.16.1.162]) by ale.deltatee.com with esmtp (Exim 4.89) (envelope-from ) id 1fhf5h-0007m4-WC; Mon, 23 Jul 2018 11:57:51 -0600 To: Julia Lawall Cc: Jon Mason , Dave Jiang , Allen Hubbe , linux-ntb@googlegroups.com, linux-kernel@vger.kernel.org, kbuild-all@01.org References: From: Logan Gunthorpe Message-ID: <82f3a6a0-57a8-b7c4-4b25-2dc423ba6525@deltatee.com> Date: Mon, 23 Jul 2018 11:57:45 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 172.16.1.162 X-SA-Exim-Rcpt-To: kbuild-all@01.org, linux-kernel@vger.kernel.org, linux-ntb@googlegroups.com, allenbh@gmail.com, dave.jiang@intel.com, jdmason@kudzu.us, julia.lawall@lip6.fr X-SA-Exim-Mail-From: logang@deltatee.com X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on ale.deltatee.com X-Spam-Level: X-Spam-Status: No, score=-8.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, GREYLIST_ISWHITE autolearn=ham autolearn_force=no version=3.4.1 Subject: Re: [PATCH] NTB: fix debugfs_simple_attr.cocci warnings X-SA-Exim-Version: 4.2.1 (built Tue, 02 Aug 2016 21:08:31 +0000) X-SA-Exim-Scanned: Yes (on ale.deltatee.com) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21/07/18 12:47 AM, Julia Lawall wrote: > From: kbuild test robot > > Use DEFINE_DEBUGFS_ATTRIBUTE rather than DEFINE_SIMPLE_ATTRIBUTE > for debugfs files. > > Rationale: DEFINE_SIMPLE_ATTRIBUTE + debugfs_create_file() > imposes some significant overhead as compared to > DEFINE_DEBUGFS_ATTRIBUTE + debugfs_create_file_unsafe(). > > Generated by: scripts/coccinelle/api/debugfs/debugfs_simple_attr.cocci > > Fixes: c75153197d20 ("NTB: Introduce NTB MSI Test Client") > Signed-off-by: kbuild test robot > Signed-off-by: Julia Lawall > --- > > I don't know much about this issue, beyondwhat is explained by the > semantic patch. Please check if the changes can be relevant. Oops, this work wasn't meant for public consumption yet. Everyone pretend you didn't see that ;). I must have pushed it to my repo that kbuild tests by accident. Though, I'm glad to have learned about the more efficient use of debugfs attributes. Logan