Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp3733654ybh; Tue, 6 Aug 2019 00:23:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqyv8xyUkxKjttsdSzVTfM/L8tO3vySG0vajrY6aBEap5El8JvZGFobdkKvJdV4hhJsk2iX5 X-Received: by 2002:a63:204b:: with SMTP id r11mr1760955pgm.121.1565076193107; Tue, 06 Aug 2019 00:23:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565076193; cv=none; d=google.com; s=arc-20160816; b=exDpKPE8vIPzq+Iy7mh7y9G/8Lmt1ZMD8fcvVLf+coaLo07/mQ7I+Z8RfSdZ+HdQet LC2wYvUa5lgkDTCB6TtzfFCmFeLB7vNC/55S1hOo3EKDzDoCwAz946xkZDOTJKjWyjMO phmIj2nPn/nYPDdrciU1402kofQM+ldJuK+BUBHWOZZQD7UEd9W4pJFzGFV8OYsBbqxb alFg0egiAWTB8WZW7QEKW69ZFdddklE3I4ptRAUJ2sdmE5z4CU7Mh7ZLqJjSrFJ010zW smhp292/hFBFj+5JgBo9l0rjwD6E015rdEqLVWeCvpUPym8+E7/o0R8W2W51noe9JJYB SGMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=sQU50zDbssfvvJqencEr7aHyNQ/XCReJEKYHWlZomCg=; b=p75PvizZlMU3DT1us5/njPmTwJ9DVWr3L02fHET5pEN/3WMcU0Mzo4qsK15no0K7SU lDiUZ0/LRXUvxnl1dqo3Vtq7D6kCVDkapwwifCL2twnSU2hLExehZyTTR85vkMevKk54 v/iFi9hDZLJt95qBD6mhmCvkMhFLb9HzTOwCzJTAEBqOQoZDsjXY4ct5/d4i4E/pXsZl KsWhpq8uT01KWJhMirpncSiNPRh3uBC5JoirgDheeHps8eXg30sAMe9XHaCeuH7jOst8 Pb7F65a7wveA7F+LbDIGRSn1NMCWqlBLbJUNqgstsLmO6ikH9Gsj4Rw3buFKjBR3sq0M mZmA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m11si14151002pjl.104.2019.08.06.00.22.57; Tue, 06 Aug 2019 00:23:13 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731898AbfHFHVw (ORCPT + 99 others); Tue, 6 Aug 2019 03:21:52 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37886 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731735AbfHFHVv (ORCPT ); Tue, 6 Aug 2019 03:21:51 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 535373078856; Tue, 6 Aug 2019 07:21:51 +0000 (UTC) Received: from sirius.home.kraxel.org (ovpn-116-144.ams2.redhat.com [10.36.116.144]) by smtp.corp.redhat.com (Postfix) with ESMTP id DCCC55D9C8; Tue, 6 Aug 2019 07:21:50 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id B67D016E32; Tue, 6 Aug 2019 09:21:49 +0200 (CEST) Date: Tue, 6 Aug 2019 09:21:49 +0200 From: Gerd Hoffmann To: Chuhong Yuan Cc: Dave Airlie , David Airlie , Daniel Vetter , virtualization@lists.linux-foundation.org, spice-devel@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drm/qxl: Use dev_get_drvdata where possible Message-ID: <20190806072149.n32ktcp23qys26jy@sirius.home.kraxel.org> References: <20190723103959.4078-1-hslester96@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190723103959.4078-1-hslester96@gmail.com> User-Agent: NeoMutt/20180716 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.49]); Tue, 06 Aug 2019 07:21:51 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 23, 2019 at 06:40:00PM +0800, Chuhong Yuan wrote: > Instead of using to_pci_dev + pci_get_drvdata, > use dev_get_drvdata to make code simpler. > > Signed-off-by: Chuhong Yuan Queued for drm-misc-next (the bochs patch too). thanks, Gerd