Received: by 10.192.165.148 with SMTP id m20csp4717556imm; Tue, 8 May 2018 13:07:42 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoFiIdx0csQTi7XuJ2lgq2amc6WZD7uN1SkfaHp4tmLI2n/m63v+eH8QzxzUTu/vV+6ks8E X-Received: by 2002:a65:628a:: with SMTP id f10-v6mr33836241pgv.6.1525810062218; Tue, 08 May 2018 13:07:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525810062; cv=none; d=google.com; s=arc-20160816; b=BtEwO+s/66l3iR01LzxVwefKM23Mywedppv4RIQLqqObJayt+AaKO2uwB2C2Q8LnK6 I9HjzZa4taaLuO/Tw+jhfRI4bx+G8cfeTsOnrmnC3t4qQzANbYAZEP3ZtCwB5gM0ZZvl h01CRrXWieaOBsRd49m2V+1qkBBRzVj1Ln0my7UmsZ2wEMrxPQdIx/EH+3IIRQ93YUEY bfumwoCgPRhs10h+HO+ZuuVFtajV5fBda0QiFi3JdeN95OhE/GDSE5MPBR2iF3vQezcd u027XwAggoNFZg/g2QhJ7jYDUmrAoZIXjUxY5g2uIC6JBKhetGPBb7YiBk2BxnNVjFQb iALg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:arc-authentication-results; bh=dRMooTpLlvmgdb0OCkWUM0zJE/A2fc6UEca5wLKL2cU=; b=0gp9FpnLJ6OIOvjm7M5JW/PHS829UeAQWofNi5g5IGBD6Jm+wSOMvtygaPfxZJrUHU M3zgu+8LtidOo8hnsTWObWuSZ7BNi0aZrPXvDbSRobdLjAWSCYeQcQ+uIJNNMUt5ezw7 BXx5dMNTTzzZhm3y+Akl6VM8VqVCbT48zyIcAjK6Bvds5OOQkyzceEJxkG33kwJdaET8 fS2WLOF4GyJCcod/lHz9uB/NTNTcg2atvhbCXWuWLAxsDEMj2oWTIZkp2rWwKg2WuXj/ RRlEKMMKsSpqaIvc3H7Tqnb59Yvj2rbYGHaa8qx+SONXPnVX2prKX7zutimS8d2lBDDg +BKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=woA4d5MQ; 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 31-v6si25023963plk.191.2018.05.08.13.07.27; Tue, 08 May 2018 13:07:42 -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; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=woA4d5MQ; 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 S1755204AbeEHUHS (ORCPT + 99 others); Tue, 8 May 2018 16:07:18 -0400 Received: from mail-sn1nam01on0071.outbound.protection.outlook.com ([104.47.32.71]:43391 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751464AbeEHUHQ (ORCPT ); Tue, 8 May 2018 16:07:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=dRMooTpLlvmgdb0OCkWUM0zJE/A2fc6UEca5wLKL2cU=; b=woA4d5MQDFH635k4qHTLHw1I6YFVlKkC+WFKqW7UYiQyWiLIk3QKT+aLCmn3tyThhTCgAT041O06v5JzFZwBeUOQ0enRsbqxbMt9JDLoYM4nhqAevG9OMahlIhb4KaWViYASNOLv2969MA8YWHkhkp8Jn3Fa9lX8M00/3sXIBzw= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Gary.Hook@amd.com; Received: from [10.236.109.62] (165.204.78.1) by CY4PR12MB1445.namprd12.prod.outlook.com (2603:10b6:910:f::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.735.17; Tue, 8 May 2018 20:07:13 +0000 Subject: Re: [PATCH v5 1/2] iommu - Enable debugfs exposure of IOMMU driver internals To: Joe Perches , "Hook, Gary" , kbuild test robot Cc: kbuild-all@01.org, iommu@lists.linux-foundation.org, joro@8bytes.org, linux-kernel@vger.kernel.org References: <152572332370.3235.16541462864315443906.stgit@sosxen2.amd.com> <201805080700.Jm8moLQz%fengguang.wu@intel.com> From: Gary R Hook Message-ID: <239fdd0c-9497-7275-4e74-d6ccd028e823@amd.com> Date: Tue, 8 May 2018 15:07:08 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [165.204.78.1] X-ClientProxiedBy: DM6PR08CA0027.namprd08.prod.outlook.com (2603:10b6:5:80::40) To CY4PR12MB1445.namprd12.prod.outlook.com (2603:10b6:910:f::9) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(2017052603328)(7153060)(7193020);SRVR:CY4PR12MB1445; X-Microsoft-Exchange-Diagnostics: 1;CY4PR12MB1445;3:3HtgQJx0PyKG1i/caZXYSlOrDlH9CiVgmOvURrcYnIuwR+39DrKL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/78Ykw0h6vfMmP6YzE1gJByfDMsRIbxJEHUK4O6w3JgPex4wMP9+TH/4eQWvBvyRx5V7XGV7gzckI+wl84itZ0UmFyxBcBUr+zKPK8p7VP18Etg8UhcTJMNbjA3nCCjqEh/AR0Uv2HeaZz0c9BAKpxJQGDsX9+hxMW97x5GHbSm9uorzBHAV2CoJHSN299WtcKnjhYnnj0kMxtl0UJ2hkXSvyP243gS4wOarasaYSflNrEqFXsV+tYTpO+iY6u/lJQDQ0hqO4WrNmbFUFwNFtcWbZWFxyLhk+DQvI9;4:iZduZtWon5nrinMyLy5ESKXfT3A2Da16qQWSW4yS/djfHrpEqNBajgIYpwKy3bWD1o0yr8IarIa81L4GNyWEFjTBs7v8dVe7Eq+bs6bwHw1zw3Tdlzc1k2piuT7XfNLsdx9rXQ1lwmfi3PGVfC894c+0ejpSRIdWmKua51rZl4I5p4U5MCOkoZrEGrp4hitnZarYlMO1zMRWgIaLS9H6ELx1VlEAWlkUVelZn25hinrjdK8rM+9EwJe4YjBL0BFQKuR68jmMB/Ve2ZDRxiS2xQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(3002001)(93006095)(93001095)(3231254)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123558120)(20161123564045)(6072148)(201708071742011);SRVR:CY4PR12MB1445;BCL:0;PCL:0;RULEID:;SRVR:CY4PR12MB1445; X-Forefront-PRVS: 0666E15D35 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6049001)(39860400002)(366004)(346002)(396003)(376002)(39380400002)(189003)(199004)(377424004)(5660300001)(31686004)(58126008)(316002)(478600001)(16576012)(2906002)(106356001)(110136005)(25786009)(105586002)(68736007)(72206003)(97736004)(93886005)(230700001)(50466002)(486006)(36756003)(6666003)(11346002)(476003)(446003)(8676002)(53936002)(65826007)(305945005)(81166006)(59450400001)(65956001)(6486002)(66066001)(52146003)(52116002)(23676004)(6116002)(16526019)(65806001)(47776003)(186003)(31696002)(3846002)(26005)(2486003)(77096007)(76176011)(86362001)(229853002)(4326008)(7736002)(956004)(67846002)(53546011)(8936002)(386003)(6246003)(2616005)(64126003)(81156014);DIR:OUT;SFP:1101;SCL:1;SRVR:CY4PR12MB1445;H:[10.236.109.62];FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTRQUjEyTUIxNDQ1OzIzOm9zTDA3eVM2d3dQU2JDTVJpazhUZUg5eXlC?= =?utf-8?B?OWVwWEgrZjAyOS9NOVo5Z01OczBsUmZqWjFXZnhUU1c2R2pqVFZXby9hUHRE?= =?utf-8?B?SGdJU3Nid09HZ28wTGppbS9CTjlRNEJDL1VpWUtKUmhmTDN6M1F1UzVqRk1D?= =?utf-8?B?YWIvOTNzTnFGYmVVZU9USEdUTjhTTXF4TFdSNXZMM0Z6ODc2bEx6dXQvbXJJ?= =?utf-8?B?Wm1yQkY3NStranY1WFROUWtKUmppRmM4VURSL2VTb1VicGtHWVNJRjhNTlFN?= =?utf-8?B?ZkRMd1h4aFVIWHRrT0ZZd0VUTUpjek1vcDJNRkZRT1hrUEJFV1RTRlQvN3d6?= =?utf-8?B?U3NtWEFxd2V3UGM2MlhPQUlSRXVtYjFIUFp2Tyszb0VyYk5QcWlOQ3dCSElU?= =?utf-8?B?V2w1MDhFV2lHMUpUR0pTOXVYV0pFYXlLWTJwcllZd2FUTnRMNjUvL2FJYUxz?= =?utf-8?B?VjF5RnVVcS9jUHl4M1M4Nm1Hc0JQeDNRajNxTlViZkYveVdEc3JjMXI0SkJ5?= =?utf-8?B?cjZOOGhnNmF1ZFA4RF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LuWMnXA671byIwBZ8BpdFNU63yEYhf2dGbejMYzHwcoLxPpgbUftRFwhcMC3ocAKix01YhKOi1LEpwPXDUv/c0wvfv3RiAJBEk4DET6qYzvFMJylO+BMEgA/qT4FvTDRL3ZZf6yJh3ixL+9Khv3tQlVafxW+8WL5Som9WwAjrpHgAqH3nOKzZ3yd5Tx90clHPjyYvuqFOnBdX8vYM X-MS-Office365-Filtering-Correlation-Id: 46ddb714-d5f2-4636-bf8d-08d5b51f4a3c X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 May 2018 20:07:13.0339 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 46ddb714-d5f2-4636-bf8d-08d5b51f4a3c X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR12MB1445 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/08/2018 01:48 PM, Joe Perches wrote: > On Tue, 2018-05-08 at 12:08 -0500, Hook, Gary wrote: >> On 5/7/2018 6:47 PM, kbuild test robot wrote: >>> >>> All error/warnings (new ones prefixed by >>): >>> >>> In file included from include/linux/intel-iommu.h:32:0, >>> from drivers/gpu/drm/i915/i915_drv.h:41, >>> from drivers/gpu/drm/i915/i915_oa_bxt.c:31: >>> include/linux/iommu.h: In function 'iommu_debugfs_new_driver_dir': >>>>> include/linux/iommu.h:706:8: error: parameter name omitted >>> >>> struct dentry *iommu_debugfs_new_driver_dir(char *) {}; >>> ^~~~~~ >>> In file included from include/linux/intel-iommu.h:32:0, >>> from drivers/gpu/drm/i915/i915_drv.h:41, >>> from drivers/gpu/drm/i915/i915_oa_bxt.c:31: >>>>> include/linux/iommu.h:706:8: warning: control reaches end of non-void function [-Wreturn-type] >>> >>> struct dentry *iommu_debugfs_new_driver_dir(char *) {}; >>> ^~~~~~ >>> >>> vim +706 include/linux/iommu.h >>> >>> 700 >>> 701 #ifdef CONFIG_IOMMU_DEBUGFS >>> 702 void iommu_debugfs_setup(void); >>> 703 struct dentry *iommu_debugfs_new_driver_dir(char *); >>> 704 #else >>> 705 static inline void iommu_debugfs_setup(void) {} >>> > 706 struct dentry *iommu_debugfs_new_driver_dir(char *) {}; >>> 707 #endif >>> 708 >> >> I have no problems with adding parameter names. But >> scripts/checkpatch.pl doesn't seem to check for this, nor require it. >> Should checkpatch be updated? > > I'm pretty sure that's not feasible. Ugh. This is a definition, not a declaration. My bad. Which is likely why I decided to apologize up front. > And when the compiler tells you you've stuffed up some > syntactical bit, why should checkpatch duplicate the > output error message too? Well, that's the point: neither the 4.8 nor 5.4 compiler complained about this. Not as an error, despite the fact that (now that I read what is actually here, as opposed to what I think is there) this is wrong. Had an error message been emitted, and the make stopped, I would have figure this out before embarrassing myself in front of the entire interwebs. > btw: That's an unnecessary ; at the end of that non-void > function and it should probably be something like: You are correct, sir. I've made a change on this. > > static inline struct dentry *iommu_debugfs_new_driver_dir(char *dir) > { > return NULL; > } Thanks for taking a few moments to comment. Much appreciated.