Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp2487793pxy; Tue, 3 Aug 2021 07:40:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwoHmb82MIdAbNI5CeKH9P09ovVvm7pgIhr6hdZAy57YrqJANb+vysuqm42nWJdUwzwEz7s X-Received: by 2002:a17:907:988d:: with SMTP id ja13mr21647970ejc.548.1628001639028; Tue, 03 Aug 2021 07:40:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628001639; cv=none; d=google.com; s=arc-20160816; b=LPjr3Q5FNyeBfRJ+cJnDLgnxOSkD9+NQfaQDGn+hmJkBeBuFRtOaDyMjI6h23oeCuu uq9OiChkwkTgtIs0FHn5Ndj/DuHH4EA0NCNtz9nwU5XP4jriU1fozvhcVt2uKeVSfPOy 6CWMVSzk3TYqku9Bu3vcCZezWV45pWKb0ACI5NAol+HrwEAdJsHXfFy+c03iSBYT/NoN 6y00JkAbDZEbmID4C0soajr+Obojh7MvuaKPbKHL5kW8gVpPBkpBwPstVQsOol7Lf/zG PBow/RmXWvEjuva7FdlYADk1Gdc7oiRJOuvCw5dstRFUrsNALOQG7zUVlk0oZR8AgKZt zugw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=sTgEG4TgHbloTQdTD+12dq76boDIRjFdas9qQ3Jk8+Q=; b=gaaSr4arwWRrCTAk73YKKubxnFkaMe4YoFLAHCig4/Z/cDMke4t4NLA/aZnUzxBPdW 0yKmeMIilR9QWZ1FpfuQInfZDmPOy4+aFmZnS9ObBiC2MkZcKwBNqRjQ0+gvlp8EHMUx /1So1cWkWXGh7HVKRiRk6FiW4rvxLY/8nKMl1sboXvCv2DfF2A9XJ0oWbOqD9kDo1zTX l7oBD+IVqsOiaAf4W8LhnKq+g4qcpUk4fHxLNfECrd0EVxEYaOBw9N1Ip5Ya58Bk7LEJ HQMTUXlYGU1DbphTi+04cPycGp2luUQDFutypQ+qb8BgPtxe7iYWAwX37QPxcopSkpNk pwuA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 11si12856476ejv.229.2021.08.03.07.40.07; Tue, 03 Aug 2021 07:40:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236687AbhHCOjj (ORCPT + 99 others); Tue, 3 Aug 2021 10:39:39 -0400 Received: from mga04.intel.com ([192.55.52.120]:57339 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236412AbhHCOje (ORCPT ); Tue, 3 Aug 2021 10:39:34 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10065"; a="211837191" X-IronPort-AV: E=Sophos;i="5.84,291,1620716400"; d="scan'208";a="211837191" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Aug 2021 07:39:23 -0700 X-IronPort-AV: E=Sophos;i="5.84,291,1620716400"; d="scan'208";a="419683121" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Aug 2021 07:39:07 -0700 Received: from andy by smile with local (Exim 4.94.2) (envelope-from ) id 1mAvZJ-004lU3-S4; Tue, 03 Aug 2021 17:38:57 +0300 Date: Tue, 3 Aug 2021 17:38:57 +0300 From: Andy Shevchenko To: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Cc: Bjorn Helgaas , kernel@pengutronix.de, Greg Kroah-Hartman , linux-pci@vger.kernel.org, Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Russell Currey , Oliver O'Halloran , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Thomas Gleixner , Borislav Petkov , x86@kernel.org, "H. Peter Anvin" , =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= , Zhou Wang , Herbert Xu , "David S. Miller" , Giovanni Cabiddu , Sathya Prakash , Sreekanth Reddy , Suganath Prabu Subramani , Frederic Barrat , Andrew Donnellan , Arnd Bergmann , Yisen Zhuang , Salil Mehta , Jakub Kicinski , Vadym Kochan , Taras Chornyi , Jiri Pirko , Ido Schimmel , Simon Horman , Konrad Rzeszutek Wilk , Boris Ostrovsky , Juergen Gross , Stefano Stabellini , Michael Buesch , Mathias Nyman , Fiona Trahe , Wojciech Ziemba , Alexander Duyck , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, linux-wireless@vger.kernel.org, linux-crypto@vger.kernel.org, qat-linux@intel.com, MPT-FusionLinux.pdl@broadcom.com, linux-scsi@vger.kernel.org, netdev@vger.kernel.org, oss-drivers@corigine.com, xen-devel@lists.xenproject.org, linux-usb@vger.kernel.org Subject: Re: [PATCH v2 5/6] PCI: Adapt all code locations to not use struct pci_dev::driver directly Message-ID: References: <20210803100150.1543597-1-u.kleine-koenig@pengutronix.de> <20210803100150.1543597-6-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210803100150.1543597-6-u.kleine-koenig@pengutronix.de> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Tue, Aug 03, 2021 at 12:01:49PM +0200, Uwe Kleine-K?nig wrote: > This prepares removing the driver member of struct pci_dev which holds the > same information than struct pci_dev::dev->driver. ... > + struct pci_driver *pdrv; Missed blank line here and everywhere else. I don't remember if it's a checkpatch who complains on this. > + return (pdev && (pdrv = pci_driver_of_dev(pdev))) ? pdrv->name : ""; -- With Best Regards, Andy Shevchenko