Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8985668ybi; Tue, 23 Jul 2019 19:30:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqxk37K9Lss/iFXcHs0hEqqN7CljXj1JCMvw3xqMFb7g2gGbG/jJnZHTP87uX7YdbUbNkrKq X-Received: by 2002:a17:902:fa2:: with SMTP id 31mr84837618plz.38.1563935407913; Tue, 23 Jul 2019 19:30:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563935407; cv=none; d=google.com; s=arc-20160816; b=ihPeRcuc3aU4NOxUUfYSsHjHyY+uNvj3mnHgxzkGgqX0SCbBTmXnS6ZrpyQTTH769P MzNXLZz/l9wOL7S3FbrY7iTPuQdazPhP4TYFMNYmWJGHb8e7PUT7chFhCPtIpYIP+ghh HgANPuo72Mtcl3v5UmykybuS9uwfoQyjdGFGkUZLoLytyA+zPZ5aRP//6ahmeizudnun gSF3Qku+DVq16vxWNh/g7+HCylfBMoLfXKUqfldSReqbykrSv5p/Hwn+RLd57YLtt3aN EtZ0RtDbYiqgtXTH5+AfbvV+upi6qAqu3HeOw9s/PvcPbOXjrBSk/qeqgleRr162nz1X SI4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=i3vAFWeL934viif464O96/kW8BhD1RiYhwG+o4tn7BU=; b=YAW4gtFehqkkvMWI2TqToeHD1PJ/vxjwD2gLktxPBrG30cJR5utFWOjdM9jJZY1gMC aGlIvPXcp7jlfw7IGExttodc+XeRy3tXsIMktYnUf6Z2HPrjWCSaBPx/b8Qn7kWdvGDX Yi+umu+J3SeX5axWMWv0ncQQnYSPqjIypZdEmO9Wk7gE/+yIGPhkk07BJSiBml0o6uZ5 JDr0AHcBYQaASQ+8Oqf1YfbuQedpH3JFw5yd76ZD2+/Dgk9YGAKmUqo+cYcVXwmtxq96 jyI83LksCdgK75ZVT12x+N5TEnbJIwMu5Knl4pj+Mvz0vGfQybM3PDRG2wpbk5vSEJ0x brHA== 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 r200si11854951pgr.518.2019.07.23.19.29.52; Tue, 23 Jul 2019 19:30:07 -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 S2403909AbfGWUD0 (ORCPT + 99 others); Tue, 23 Jul 2019 16:03:26 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:35918 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726686AbfGWUDZ (ORCPT ); Tue, 23 Jul 2019 16:03:25 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id D6136153BAE8D; Tue, 23 Jul 2019 13:03:24 -0700 (PDT) Date: Tue, 23 Jul 2019 13:03:24 -0700 (PDT) Message-Id: <20190723.130324.990265277943408947.davem@davemloft.net> To: hslester96@gmail.com Cc: jeffrey.t.kirsher@intel.com, intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] i40e: Use dev_get_drvdata From: David Miller In-Reply-To: <20190723141551.5857-1-hslester96@gmail.com> References: <20190723141551.5857-1-hslester96@gmail.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Tue, 23 Jul 2019 13:03:25 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chuhong Yuan Date: Tue, 23 Jul 2019 22:15:51 +0800 > Instead of using to_pci_dev + pci_get_drvdata, > use dev_get_drvdata to make code simpler. > > Signed-off-by: Chuhong Yuan Applied.