Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp3849846pxb; Mon, 4 Oct 2021 10:57:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1swXm9duB1o9MVLUHqlz9IJYdvaWA6Pz55ygX3kmDtlQIhXC2EzzGY0U3HGDNBL1tjWwH X-Received: by 2002:a17:906:d975:: with SMTP id rp21mr2912690ejb.104.1633370224899; Mon, 04 Oct 2021 10:57:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633370224; cv=none; d=google.com; s=arc-20160816; b=CwimAvC62c9zQh8RM+CGDxHN5w9JUQflV+YIRX6PH8P5GGO5TSD1gBctIUuWVTzdP7 YuQiUerH8n5seX0EcwTd+cnAk++8fVEl52PHW1fSrjphZiDJgjuFd2JxWIldUSH/Iji7 3xp1lOLMmzkLZIIxTURwOiPZQVGj+ErGWWCOsTTZ1xckkNVApxit//nJ8k2/vk0irwfX BU126ctu/iJ6yXHfIQzUO9R+7kiXdOPCPu16q0TmQEV1r0B4EvoYA6cN5tC5qGc9x+pQ NOZor89TAG1klwiBDg43G5H+002Et2LZPUbEURszAe2e+MBQ4G1abGz0JU2iSbiBg9G9 VByQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=UUDC4YPuEtCCTitozLyUXSQK64PbAa0gIhVIGJmISk8=; b=iu/FHe9hX2q8eQbAcesh/mCXnpPQTxr6Vju+s3EDI/TUbVcluC/qNLF8uZu+VXfvR1 wPPPt2bx++7RYxD/I82LnvSMbeIfwSE9BKyArDc2Zod0zJPBr2sQ5T4kFBvyx4kf29iq nqXX9uZAcLjneW+V0IkTgNaUxs+D30z7qkKzS/wTTCSCNPjpMvmwEvfmVglv9sSge5T8 5FPPOSKgVK3WfAcKOXrKGREIfiWvXayT3+mXQxE6aziIpdyXXZ3tACGS/UHoW5BVU0mc wjMJIQnMhxCq3L5NvJL6VyVlR6pncfM6LKHlnpbenPlVKQEzWBpa/n9CBu1RvkINu9BB hsLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b="gM59//Us"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e22si731462edu.306.2021.10.04.10.56.45; Mon, 04 Oct 2021 10:57:04 -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; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b="gM59//Us"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236407AbhJDQIg (ORCPT + 75 others); Mon, 4 Oct 2021 12:08:36 -0400 Received: from new3-smtp.messagingengine.com ([66.111.4.229]:34819 "EHLO new3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235064AbhJDQIf (ORCPT ); Mon, 4 Oct 2021 12:08:35 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.nyi.internal (Postfix) with ESMTP id DCB33580A24; Mon, 4 Oct 2021 12:06:45 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Mon, 04 Oct 2021 12:06:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=UUDC4YPuEtCCTitozLyUXSQK64PbAa0gIhVIGJmIS k8=; b=gM59//UsggGrtqThRY9sJqyp8D+9kxjC+UvC7jenhj+AROpr2V0dfX/fq h6ehvCOLyj1zbY13J0RFv4HpMy6SMAEX5K/uwt2bcfpRtPSpV3rFp+/j5p5rgavJ NUyyosal30d0QXln5Q8fjxIIkwHXSAzv8sdGRmRetfikyw/8NylOSLiIaeHcXLZs YnaQzu/hGWx1xjutunU4A8MqMaIbIvUXaFJWF+sjfSBezb9G0uo907QDhO7iF4aw 7fC70puO9Bw3YWecSEMZGNFm8zpFdi6oYbLiFHdf0ITrk8yAsZ2S/bYEurSItMlo SOkfWQhrsVpq5DpSXCXcRtiveKNYA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudelvddgleefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtugfgjgesthekredttddtudenucfhrhhomhepkfguohcu ufgthhhimhhmvghluceoihguohhstghhsehiughoshgthhdrohhrgheqnecuggftrfgrth htvghrnhepvdffveekfeeiieeuieetudefkeevkeeuhfeuieduudetkeegleefvdegheej hefhnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepih guohhstghhsehiughoshgthhdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 4 Oct 2021 12:06:41 -0400 (EDT) Date: Mon, 4 Oct 2021 19:06:38 +0300 From: Ido Schimmel To: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Cc: Bjorn Helgaas , linux-pci@vger.kernel.org, kernel@pengutronix.de, Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= , Zhou Wang , Herbert Xu , "David S. Miller" , Yisen Zhuang , Salil Mehta , Jakub Kicinski , Vadym Kochan , Taras Chornyi , Jiri Pirko , Ido Schimmel , Simon Horman , Michael Buesch , Oliver O'Halloran , Jesse Brandeburg , Alexander Duyck , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, linux-crypto@vger.kernel.org, netdev@vger.kernel.org, oss-drivers@corigine.com Subject: Re: [PATCH v6 07/11] PCI: Replace pci_dev::driver usage that gets the driver name Message-ID: References: <20211004125935.2300113-1-u.kleine-koenig@pengutronix.de> <20211004125935.2300113-8-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: <20211004125935.2300113-8-u.kleine-koenig@pengutronix.de> Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Mon, Oct 04, 2021 at 02:59:31PM +0200, Uwe Kleine-K?nig wrote: > struct pci_dev::driver holds (apart from a constant offset) the same > data as struct pci_dev::dev->driver. With the goal to remove struct > pci_dev::driver to get rid of data duplication replace getting the > driver name by dev_driver_string() which implicitly makes use of struct > pci_dev::dev->driver. > > Acked-by: Simon Horman (for NFP) > Signed-off-by: Uwe Kleine-K?nig For mlxsw: Reviewed-by: Ido Schimmel Tested-by: Ido Schimmel Tested with the kexec flow that I mentioned last time. Works fine now. Thanks