Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756037AbcDDPzR (ORCPT ); Mon, 4 Apr 2016 11:55:17 -0400 Received: from mail-db3on0100.outbound.protection.outlook.com ([157.55.234.100]:6378 "EHLO emea01-db3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754012AbcDDPzP convert rfc822-to-8bit (ORCPT ); Mon, 4 Apr 2016 11:55:15 -0400 X-Greylist: delayed 4683 seconds by postgrey-1.27 at vger.kernel.org; Mon, 04 Apr 2016 11:55:15 EDT From: Eli Cohen To: "Doug Ledford (dledford@redhat.com)" CC: "linux-kernel@vger.kernel.org" , "Doug Ledford" , Or Gerlitz Subject: RE: drivers/infiniband/hw/mlx5/main.c:2357:31: error: 'mlx5_ib_get_vf_config' undeclared Thread-Topic: drivers/infiniband/hw/mlx5/main.c:2357:31: error: 'mlx5_ib_get_vf_config' undeclared Thread-Index: AQHRjWTzdbQa7rOjAkKlPHO4LDghn595389w Date: Mon, 4 Apr 2016 14:22:32 +0000 Message-ID: References: <201604031243.l8YmkhyQ%fengguang.wu@intel.com> In-Reply-To: <201604031243.l8YmkhyQ%fengguang.wu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [172.87.190.14] x-ms-office365-filtering-correlation-id: a9981128-2132-4f9d-18e0-08d35c948fff x-microsoft-exchange-diagnostics: 1;DB5PR05MB1461;5:iY92pJxNYMIYYbw0c70DaTkLPl1V5Pe2nl08yLWCYPcbJaMZURUrwQ3hR6R4ClHMxACMyWSYhGt/Ie43MNts9ei8ibBTce8ASjyeYOHbCQ1jzLKynCRuuMzpCga0SdImKH8dxJQuOKa5kWSlPkL4lg==;24:+tBAzRtKVgngKKm481Fb4jRUHraG9sg2/tS8WGPbHw97RkHusQ7JxGkS/OtLZICtjYNKcqE4bSjD7v4cscRN9W7qGTRsi6UwCpL0ZE8gKjI= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DB5PR05MB1461; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046);SRVR:DB5PR05MB1461;BCL:0;PCL:0;RULEID:;SRVR:DB5PR05MB1461; x-forefront-prvs: 0902222726 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(69234005)(377454003)(13464003)(586003)(33656002)(4001430100002)(19580395003)(66066001)(107886002)(5008740100001)(11100500001)(4326007)(5003600100002)(81166005)(19580405001)(87936001)(92566002)(122556002)(5890100001)(10400500002)(2900100001)(2950100001)(3846002)(77096005)(74316001)(110136002)(5004730100002)(102836003)(1096002)(76176999)(5002640100001)(1220700001)(189998001)(106116001)(6116002)(15975445007)(50986999)(3280700002)(3660700001)(86362001)(54356999)(76576001)(2906002)(15760500001);DIR:OUT;SFP:1101;SCL:1;SRVR:DB5PR05MB1461;H:DB5PR05MB1848.eurprd05.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Apr 2016 14:22:32.8428 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR05MB1461 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2919 Lines: 65 Hi Doug, Could you please pull this fix? https://lkml.org/lkml/2016/3/23/132 Thanks -----Original Message----- From: kbuild test robot [mailto:fengguang.wu@intel.com] Sent: Saturday, April 02, 2016 11:54 PM To: Eli Cohen Cc: kbuild-all@01.org; linux-kernel@vger.kernel.org; Doug Ledford ; Or Gerlitz Subject: drivers/infiniband/hw/mlx5/main.c:2357:31: error: 'mlx5_ib_get_vf_config' undeclared Hi Eli, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f7eeb8a87c033d126ff6b8c35405ba5dc4e55754 commit: eff901d30e6cebd940072637f112ce4d0090ac12 IB/mlx5: Implement callbacks for manipulating VFs date: 12 days ago config: x86_64-randconfig-n0-04031158 (attached as .config) reproduce: git checkout eff901d30e6cebd940072637f112ce4d0090ac12 # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): drivers/infiniband/hw/mlx5/main.c: In function 'mlx5_ib_add': >> drivers/infiniband/hw/mlx5/main.c:2357:31: error: 'mlx5_ib_get_vf_config' undeclared (first use in this function) dev->ib_dev.get_vf_config = mlx5_ib_get_vf_config; ^ drivers/infiniband/hw/mlx5/main.c:2357:31: note: each undeclared identifier is reported only once for each function it appears in >> drivers/infiniband/hw/mlx5/main.c:2358:35: error: 'mlx5_ib_set_vf_link_state' undeclared (first use in this function) dev->ib_dev.set_vf_link_state = mlx5_ib_set_vf_link_state; ^ >> drivers/infiniband/hw/mlx5/main.c:2359:30: error: 'mlx5_ib_get_vf_stats' undeclared (first use in this function) dev->ib_dev.get_vf_stats = mlx5_ib_get_vf_stats; ^ >> drivers/infiniband/hw/mlx5/main.c:2360:30: error: 'mlx5_ib_set_vf_guid' undeclared (first use in this function) dev->ib_dev.set_vf_guid = mlx5_ib_set_vf_guid; ^ vim +/mlx5_ib_get_vf_config +2357 drivers/infiniband/hw/mlx5/main.c 2351 dev->ib_dev.process_mad = mlx5_ib_process_mad; 2352 dev->ib_dev.alloc_mr = mlx5_ib_alloc_mr; 2353 dev->ib_dev.map_mr_sg = mlx5_ib_map_mr_sg; 2354 dev->ib_dev.check_mr_status = mlx5_ib_check_mr_status; 2355 dev->ib_dev.get_port_immutable = mlx5_port_immutable; 2356 if (mlx5_core_is_pf(mdev)) { > 2357 dev->ib_dev.get_vf_config = mlx5_ib_get_vf_config; > 2358 dev->ib_dev.set_vf_link_state = mlx5_ib_set_vf_link_state; > 2359 dev->ib_dev.get_vf_stats = mlx5_ib_get_vf_stats; > 2360 dev->ib_dev.set_vf_guid = mlx5_ib_set_vf_guid; 2361 } 2362 2363 mlx5_ib_internal_fill_odp_caps(dev); --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation