Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp991517lqh; Fri, 29 Mar 2024 04:00:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW2kH+5G6mCdE2ZskTKjI/j4gt4l/0RPvr9gRVItGNvjp1w19EMEBs69HLZR/PCdczNoIzyRSnXn7tpd2PcXgnWC6UBeZjoONxbyzb/bA== X-Google-Smtp-Source: AGHT+IFo8KktVN2U5aiW47R1P4DesDS9iv75Izu4FdjZsoCesKD0UmWEbSWw04VwX/U7tq9B9fJx X-Received: by 2002:a05:622a:138e:b0:431:5aa1:31be with SMTP id o14-20020a05622a138e00b004315aa131bemr2284875qtk.46.1711710017685; Fri, 29 Mar 2024 04:00:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711710017; cv=pass; d=google.com; s=arc-20160816; b=dDfMpRMm1cXHWeYnOI9+u5sYvE3z4+UKdUW05cei/wPTSwq4aoRgVrgFXw0lbTuDeA SIHEmNDUIcDUSRlWDTGo9r3oCdsT8SHVQjnDpB/8Tbccw2B8bYa3iPZaRnYHJiRRXRLG YAY6Q7RQ07NHrKDnZCh8FcR0Qxcvb6yqVQoRPNHPSyCT8nRG8IT8UOGLvHhfgMzg9ahV 7SIrTWIpXhj+PF20OOV1lLzUlt55yvCSzfqtA+3zXwPrei3L1zzbGczz80jAnwNa56EB Ecib0UEdl+M0dHoBfdukZ2d2yrF36bQ8T3iGl/uek8U3P1psob+6RRNJAjMfX1GMaQqg S7tw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ObmCChwbxI4fnx/oMY/3duoto3dJqKFQjwXK6r0ebbk=; fh=eymMqNtvum8KG2cYYzOl2IVMUUlUqP3SHgKTQN0ZZm8=; b=gFSyBhJ7eNfTC+a7nMT+364aF1sFF1z8zu/rU9ceiM5fzngLUksl1lT9XaMOEbntyl ad/A3Ni8285vD4YFOkIWKRBdoLY0Aa8sRvIBrN2dJsCmrxm5pixEEz8VYZRLXgmGLrAe hpT15yZrPSpnvFB1kTzHJC/c2W6Gpv7K9n5TznhkKAyLtiGwQ1UQ1DQiE2YKB3HEXHua /CvDo+1i4QIj3sPdg5DtoLHPnNXU506Y3yMBzNBXW/jYbs7gAuyIeFeQUPIjk9ECO+h6 r4UfEUhgXWwISOhmgq08pLNFJtkHYDdRAbTard5FN8nBysDI4z/52e2lNLpbpCcGDCEx RFJw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QbLejqej; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-124421-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124421-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id u21-20020a05622a011500b00430a445e7e9si3299354qtw.395.2024.03.29.04.00.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 04:00:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-124421-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QbLejqej; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-124421-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124421-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id CDF481C24122 for ; Fri, 29 Mar 2024 11:00:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EDDF67D081; Fri, 29 Mar 2024 10:58:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="QbLejqej" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8DD467D079 for ; Fri, 29 Mar 2024 10:58:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711709893; cv=none; b=Oi2FyEOwYXnwFcWw9oOJ4B/Af9M+9Qjxnl01aH5Qppm7d1KqSCEBLqhVtjKgqE6F99jianSapMB9KiwXOOpcv3TrL3q+gZx8ps4Hk3WCi1Id8scD5Q7WMWqO6CGhR1jbLa12BsGWgyVgh96To5o5TBQZP9WBEvry+5okX74IBX8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711709893; c=relaxed/simple; bh=g8OQfrHBwhFx8ET7d7s7wkLQtKO+Fbki+HGAG42ZO84=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=B04p4NaVgbeVexEU1UN26RJFL9FGr09TYmPP97WvlyQOd74MJD+1OvsEw6d+AOdlyQM0rZNraEtwjNdR6z87JxhzKFa/UdM/ZNXIF0WmYwmc5weU87Ai8PxuetoK+D4URuEZkaqcZ8YZgNjZHjhJRzO2KCsD+WlOoIEIbDfujAE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=QbLejqej; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1711709889; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ObmCChwbxI4fnx/oMY/3duoto3dJqKFQjwXK6r0ebbk=; b=QbLejqejcTXYnpi6v7P/hoStHyYIo+wo9scz/Tc21eZlzdurPz0hDHn0u7VKd+9Qp0eSEF m62Hk0k8EnkFDeazd8L6AH5Qina9/+ibheUyOUNdXuW//tJ7croU+Hbw0j3p2AjtmDyqBg ad+MedvinPyTUtcIQ53sR+lJuC914dU= Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-623-YJK1PNaVN4ujNDLsv-AKoA-1; Fri, 29 Mar 2024 06:58:08 -0400 X-MC-Unique: YJK1PNaVN4ujNDLsv-AKoA-1 Received: by mail-lf1-f71.google.com with SMTP id 2adb3069b0e04-515bbb9a73aso1515210e87.0 for ; Fri, 29 Mar 2024 03:58:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711709887; x=1712314687; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ObmCChwbxI4fnx/oMY/3duoto3dJqKFQjwXK6r0ebbk=; b=dOQeMTsDwoORoPzNG2obR5yDbu3QaRSVxlMMNpUlwamePJuBoZFhao278+Clv49L9K ZSKV2k5GR8jqwZJJ8WyUi3AGqCKknVNauqz6JsRjraOka88m3149WUnQ73+QUmCPsdmD gekJ7AlXPqw7PeIAF/o2BXcor5p9LAIfMKaRgBVafEQaNkV0apWFSbxbgyg50YKsqJO2 llQ9x0qtf1hQ3DBVgyumpHit3jkew8oOmaFHNGlEGbbA9wdPtg5tXMGt4GQCkYXHteXC jeWmpn4y57SYx3zgY5tNZ5wobsMAOSo1eBP6s2tXP0NFKGQ3ZGUwGO2ybcakMxfGpI/V MwXg== X-Forwarded-Encrypted: i=1; AJvYcCUOnST3gd/cckXI3tUXUHIi9dhlIrNRRdwapa4pDwmJl062PNQc+ZVbQmFJ2Q4HFeS6N07hTaR9QPUpRIlCIDTl12bnCkUl0+CptKQ+ X-Gm-Message-State: AOJu0Yxo/LjXp7FudtO3qi51uHIdWgWbG4GJvFTlVFmX3x2MaeUUhGJH 1+oH/hOnUzBwd04pOPfn2xGZCKLhyEDSvoKuqYItVRqenOzr3PiKjsQp/MKxBdMZYp9mSpKWob5 WmReg/1oG3wrSn84W3Ylhcia4CFK52fRLgQcQ+ptsfMwY49Yjal1Q+7D8XNzuVg== X-Received: by 2002:ac2:4197:0:b0:513:d3c0:f66 with SMTP id z23-20020ac24197000000b00513d3c00f66mr1298043lfh.51.1711709886792; Fri, 29 Mar 2024 03:58:06 -0700 (PDT) X-Received: by 2002:ac2:4197:0:b0:513:d3c0:f66 with SMTP id z23-20020ac24197000000b00513d3c00f66mr1297956lfh.51.1711709886231; Fri, 29 Mar 2024 03:58:06 -0700 (PDT) Received: from sgarzare-redhat (host-87-12-25-33.business.telecomitalia.it. [87.12.25.33]) by smtp.gmail.com with ESMTPSA id f4-20020a056402194400b0056c4cdc987esm1879596edz.8.2024.03.29.03.58.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 03:58:05 -0700 (PDT) Date: Fri, 29 Mar 2024 11:58:00 +0100 From: Stefano Garzarella To: Bartosz Golaszewski Cc: Krzysztof Kozlowski , "Michael S. Tsirkin" , Jason Wang , Xuan Zhuo , Richard Weinberger , Anton Ivanov , Johannes Berg , Paolo Bonzini , Stefan Hajnoczi , Jens Axboe , Marcel Holtmann , Luiz Augusto von Dentz , Olivia Mackall , Herbert Xu , Amit Shah , Arnd Bergmann , Greg Kroah-Hartman , Gonglei , "David S. Miller" , Viresh Kumar , Linus Walleij , David Airlie , Gerd Hoffmann , Gurchetan Singh , Chia-I Wu , Jean-Philippe Brucker , Joerg Roedel , Alexander Graf , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Eric Van Hensbergen , Latchesar Ionkov , Dominique Martinet , Christian Schoenebeck , Kalle Valo , Dan Williams , Vishal Verma , Dave Jiang , Ira Weiny , Pankaj Gupta , Bjorn Andersson , Mathieu Poirier , "Martin K. Petersen" , Vivek Goyal , Miklos Szeredi , Anton Yakovlev , Jaroslav Kysela , Takashi Iwai , virtualization@lists.linux.dev, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-um@lists.infradead.org, linux-block@vger.kernel.org, linux-bluetooth@vger.kernel.org, linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, dri-devel@lists.freedesktop.org, iommu@lists.linux.dev, netdev@vger.kernel.org, v9fs@lists.linux.dev, kvm@vger.kernel.org, linux-wireless@vger.kernel.org, nvdimm@lists.linux.dev, linux-remoteproc@vger.kernel.org, linux-scsi@vger.kernel.org, linux-fsdevel@vger.kernel.org, alsa-devel@alsa-project.org, linux-sound@vger.kernel.org Subject: Re: [PATCH 09/22] gpio: virtio: drop owner assignment Message-ID: References: <20240327-module-owner-virtio-v1-0-0feffab77d99@linaro.org> <20240327-module-owner-virtio-v1-9-0feffab77d99@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Fri, Mar 29, 2024 at 11:27:19AM +0100, Bartosz Golaszewski wrote: >On Wed, Mar 27, 2024 at 1:45 PM Krzysztof Kozlowski > wrote: >> >> virtio core already sets the .owner, so driver does not need to. >> >> Signed-off-by: Krzysztof Kozlowski >> >> --- >> >> Depends on the first patch. >> --- >> drivers/gpio/gpio-virtio.c | 1 - >> 1 file changed, 1 deletion(-) >> >> diff --git a/drivers/gpio/gpio-virtio.c b/drivers/gpio/gpio-virtio.c >> index fcc5e8c08973..9fae8e396c58 100644 >> --- a/drivers/gpio/gpio-virtio.c >> +++ b/drivers/gpio/gpio-virtio.c >> @@ -653,7 +653,6 @@ static struct virtio_driver virtio_gpio_driver = { >> .remove = virtio_gpio_remove, >> .driver = { >> .name = KBUILD_MODNAME, >> - .owner = THIS_MODULE, >> }, >> }; >> module_virtio_driver(virtio_gpio_driver); >> >> -- >> 2.34.1 >> > >Applied, thanks! Did you also applied the first patch of this series? Without that I'm not sure it's a good idea to apply this patch as also Krzysztof mentioned after ---. Thanks, Stefano