From patchwork Thu Mar 28 20:45:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 783993 Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D0F3113A409 for ; Thu, 28 Mar 2024 20:45:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711658760; cv=none; b=LtScPAWl0eee5b1BqGEx/P8DehNXGfMd/Mc4eFgb9KLGjvHz7YJae2XSIFAdqNp/7w2ag4HNiuPDOGcpAgSG6Qhx9k5h9NsBQ1mMLsQZSCM96F65Iy93WT6WZlm4aX6HfdxiFY95LM3SfeChm7cM+MOhAWjB8Ro3F8rRn50xAsw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711658760; c=relaxed/simple; bh=gN916IcSHjAxGrt7q/maZ9c7wFkfPaWOLEW7VAt440s=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=TqWB9c4S0XNZMFXrKSdY5LwDogfz/XoDQabOeOlvihJGZE/Ny/QXWy3NYXNWmeEGd1O7U+GeiAf0LOeP50oje0nFFY0C2Ji5MDFfzqPqeWou5Bkx91RYG93jU/SRwKw5UOga+YSncUPtQ580GYm7dbJ2CzL1qNWhqwDjfIjL42c= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=pi17pcPA; arc=none smtp.client-ip=209.85.221.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="pi17pcPA" Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-341d730bdfcso1156858f8f.1 for ; Thu, 28 Mar 2024 13:45:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711658757; x=1712263557; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Ic1TsjIr/XGxwgAahTlTahad7ksIOvKlntEYIZsJCJ0=; b=pi17pcPAmMVVf78RpKd7BV1QAtSy89WTEVLmhuFncOIhKrflruETmyB1gDw2lOKuaL 0Q09qyXgD78BPLT4Q8vWyXYrdEBfKXNt/y6xl7cIaNkDnPhpHeXSataMGZczIqyaU83M 4nIx/22JS9t0cqTE9Lmfn1uk38khqiH3NZcF8766AYHuGMNi64zIAl846PFQSCdJ9cqT LIHCrfWCRY0keOdehuIEVXjChlPioIoTkw5YPoa1a/Hcvhdfiw+E3aYXdzHX4bn51FA7 yiERvIcufgeMxazyj5LNiRoIj2c0JOUe/8+75sDdWKDNBx2mLaltTIuv3ozmHiE2ozH1 0QoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711658757; x=1712263557; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ic1TsjIr/XGxwgAahTlTahad7ksIOvKlntEYIZsJCJ0=; b=FAvNGtN34JnqB/QqamKioe+KgazWRU7DXY5qDHPeHAo5X1DPdD4xdgfVbDobSMNNad 1a2Zf9ZxWieYvCj12DqX8rOg9McVy5SS7De69JDoxFPgcDYtzW5ShXBxwyi3ham9S0mH AOwKlMioZmOlApPDrP7qrzoa1EoilxcBprOul9r5VYFo/0st91ALntknbEV9u9PT2erd tNnWBLDa8zus9vJP7WaMJh2a68617qqZqlISrZzw14y588RIunlyWeOIZvf2lSjb0xPc +JvDsAO0V4HKtVeYNN6Cs7qlLRquZiriPCVesxE0sYBJbqn1Iwu3sfZpARM5kkGzO7dv 9qmg== X-Gm-Message-State: AOJu0YwDyAazqLnAmE/5wjfOgXuxP7QKVPLRgU53bNn/CnddpFt50VTF BI/gsCQtOVvADShA+iWse3dLrTuqFMsCCiqRWSo2np2Ag1aQAr2bDAL1Yudq+Ao= X-Google-Smtp-Source: AGHT+IFuSXRqSgUvsp9AV89+cl6HvFlJ1yqTwJU6euN4ZjRI0tQoaL3mmRe80mIonpzVjyj5rVtVnA== X-Received: by 2002:a5d:58cc:0:b0:33d:c572:7641 with SMTP id o12-20020a5d58cc000000b0033dc5727641mr150048wrf.14.1711658756980; Thu, 28 Mar 2024 13:45:56 -0700 (PDT) Received: from [127.0.1.1] ([178.197.223.50]) by smtp.gmail.com with ESMTPSA id t15-20020a05600c198f00b0041497459204sm4762697wmq.12.2024.03.28.13.45.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 13:45:56 -0700 (PDT) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 21:45:46 +0100 Subject: [PATCH 2/6] scsi: sd: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-scsi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-b4-module-owner-scsi-v1-2-c86cb4f6e91c@linaro.org> References: <20240328-b4-module-owner-scsi-v1-0-c86cb4f6e91c@linaro.org> In-Reply-To: <20240328-b4-module-owner-scsi-v1-0-c86cb4f6e91c@linaro.org> To: "James E.J. Bottomley" , "Martin K. Petersen" , =?utf-8?q?Kai_M=C3=A4ki?= =?utf-8?q?sara?= , Alim Akhtar , Avri Altman , Bart Van Assche Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=648; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=gN916IcSHjAxGrt7q/maZ9c7wFkfPaWOLEW7VAt440s=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBdb8GTSlzu8DtKZvzSQzb6fUGShz2JAX+naIT dBLA8agNUyJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXW/AAKCRDBN2bmhouD 10gSD/9lsHVyjZ4k8JwzJLZQZnjn3DJzmE52DtyVoaMx+FIDZmj7PwJr3KJkPLwL+W25JmAkoIk PEIhpAFvHqcZIPPo5bCJ1sAIvoHbQNnWQmKC5ioG9YjWbX0MYvnNiDZj0+y38dfJYqesRnKBBVh +MEK85Y/Rk22R+EoMdqhzH273DG0xuZ/kMl9xWhddg97kzb9Bla0fL57aHaHr70uJIExOH9DDS3 QvQ+J4+A3ILkzqts9CrpbmYPEaLMDHBYe7TFcZGSRADx/KEX6yxxPODRufFavRVKX2qgUJF6Y2q cXaEE3hQVgaFxRtp/ouuDQTNq6DMbO9SdTqk9eDeIPF/XUEeZnE/IRtOQZk+Q06Swq8a4Z4OWdk ux6FSv3DN3rkV607X4QIvlfz+x4Gc+y+a1qoXpvhhqNteBQiF74haLh5+k/DaYIp7hYuFm6Uyfx jIGZvddtAB1GpKmb+G17ZrXk2QSIuTU9zzoPPKXGx2JqNuC/abvYHUeTpVtFyaKcrVPTj+MfUMv lB6ZoeqnRpnqsmzV/1d2UDiDZaHmqtePcSHLZM64nKyHTIMqUNRCLuUxb5oxclYMmMRo0xKoGBS WTSEVTITwUCOBdKm1KOiB37bnbD9bsFIwaJB99PxvEDJjP0bf1ceGwgeffxN5cC3XHe4s+ZqEpq t2wTURsrAsWa6Ag== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in scsi_register_driver() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- drivers/scsi/sd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c index ccff8f2e2e75..0b447f1bc1a9 100644 --- a/drivers/scsi/sd.c +++ b/drivers/scsi/sd.c @@ -4185,7 +4185,6 @@ static const struct dev_pm_ops sd_pm_ops = { static struct scsi_driver sd_template = { .gendrv = { .name = "sd", - .owner = THIS_MODULE, .probe = sd_probe, .probe_type = PROBE_PREFER_ASYNCHRONOUS, .remove = sd_remove, From patchwork Thu Mar 28 20:45:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 783992 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7C10F13AD12 for ; Thu, 28 Mar 2024 20:46:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711658763; cv=none; b=CEIPW9gHgHZDTuKPjEfLFDsekD6koXd1m2v3F2uKtf5VPtNvkuZYA49jZvgTnp/22ZixZ2wxlmcOrkMhxmai9kInBTCObsey7q7O6gpRvXUqzqloWwFHBXj0q+nVNFAF6JplanGHvp5CaGY4f9sOzocvewT6IlpINvFaEVwZ7EI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711658763; c=relaxed/simple; bh=4Fz178QR/piCy1oylUTMuDaEW9dLh/iogDNu5WpJ05Y=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=AxQWKMDtZ8RSgPulxqt5qJQ2v0iaaJejbho8Sc91NJAGH1IDojanOU5gRkxCM8YuBakYUI1877ErypUkjwqi4EgOfL5PUHLXkpQDMOrxQML3yh3Mz+dKlYMqmHfYXdqjX71XXHFK73eo89FLvCTOFtXqUsm9nEKRWi0NY98Eibs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=yNNwSSpv; arc=none smtp.client-ip=209.85.128.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="yNNwSSpv" Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-414970d4185so10040485e9.3 for ; Thu, 28 Mar 2024 13:46:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711658760; x=1712263560; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=gihd7cntoI/c9dKCWsDUCUdVda0GMecgJqmR9/ZB/JM=; b=yNNwSSpvYuNypMG7aBLrZOwmyc5IPJlvV6iKv4zqBYZvPqvDhOJBV3374KwyeLEBjM enGiSVFqfwmQUEOGZQPY2WES6ne80tNdOjzJSJ9dVoIGPDiHUk7SjDXx5dQ2bmkiSZmS ZVX0aMmuRAkNq+PZcdaX4jccwExEDPyJSzx78sXFA3Y73yoeDn8JFV12XCmJU3Cy4P5F ZrUrmv2VwBj+anFfrC1QPYwSVy7AhiEjwCxBkiP0+6dM6mvCSibUN5egMznK8fUN2qHC zE4HJnzn/BNpN82oQpOTyLRRuNjdsMk3XRgVv5J9xAieFxLmbf1EGEBPF2lZhDlmD+1h 4GlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711658760; x=1712263560; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gihd7cntoI/c9dKCWsDUCUdVda0GMecgJqmR9/ZB/JM=; b=HWXFfaOgG7RFfGsh7E05RPLm9h4A2N/kvJ0XIBbPL0iwMQyNKlRr6kZnk+6/Ii1qXG SdhVrpIAM16We0pqJ88xnqlc8p+6mkCycsWwm35yBax110WKgw+hUM3X6w5ptvDVk24/ LxqGZev1OOBB7TQpsZ7ovHu1L1HrqSNjNwoxcr7poiwAKgzkBpcfXB+lCrtuxVy2ahqk QX3x490LbO3OQ72xKvvs64PeFpjDI5IWpGVQwQPvaZdTobnPD6dDHeOcD8Xy8HWP5Li/ LcfGVR3fo/Mc1tubytB42DMsuhoJi0/D+mTXM8lP4TxHzLrVCuEqk2s82cUhlKNYFwVb UAuQ== X-Gm-Message-State: AOJu0Ywn5hEXYjgQN1MKrG13apX6AziiuUqna0bZQ4g+WhzBX8Set6h8 au3VUHu87JQVyFQ8iYc8wIYF0s+bux3ezwGO5zlK39/KAteJnoXJqHGP6xMt/8I= X-Google-Smtp-Source: AGHT+IFIld09eVWLoR912QMzlPipAzeDg7jl33IVXCQwpqaJJvkmoUuBfzq9qCgnmB/IJDmhPMrZ6g== X-Received: by 2002:a05:600c:468c:b0:414:1eb:3010 with SMTP id p12-20020a05600c468c00b0041401eb3010mr304229wmo.17.1711658759914; Thu, 28 Mar 2024 13:45:59 -0700 (PDT) Received: from [127.0.1.1] ([178.197.223.50]) by smtp.gmail.com with ESMTPSA id t15-20020a05600c198f00b0041497459204sm4762697wmq.12.2024.03.28.13.45.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 13:45:59 -0700 (PDT) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 21:45:48 +0100 Subject: [PATCH 4/6] scsi: sr: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-scsi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-b4-module-owner-scsi-v1-4-c86cb4f6e91c@linaro.org> References: <20240328-b4-module-owner-scsi-v1-0-c86cb4f6e91c@linaro.org> In-Reply-To: <20240328-b4-module-owner-scsi-v1-0-c86cb4f6e91c@linaro.org> To: "James E.J. Bottomley" , "Martin K. Petersen" , =?utf-8?q?Kai_M=C3=A4ki?= =?utf-8?q?sara?= , Alim Akhtar , Avri Altman , Bart Van Assche Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=624; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=4Fz178QR/piCy1oylUTMuDaEW9dLh/iogDNu5WpJ05Y=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBdb+42KAcqRgn5Z2VbIu8bbhRdnyFNx2LZu3v KxbbucT+muJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXW/gAKCRDBN2bmhouD 17T5D/oDY+G7rZG4gjc2lMsI13yuufpx9LdNJZeci5LgHYjWQ4o9zSkFZ3jj36LAJFMH+VujJs3 oOfV1KGQQ9olmVbClqhLWE0dbpTyRumUzT0exw4aX8g2dtGwy5ALHUGppm7Lx++hwt18Fw8goy3 K6jF2z5UWkIiWGBjtDulwoj9gti3aykR/5pN0zIc6XoADK7Nsp4Z0i896pNULRGwIwBIUUAS+PL JqsN0MTUpxUeoVL574/m+Zo1Z6d3ECzn86MA5U8WjRGRnsGbC45Ns36cW9NUf3gZNZYouXWUx0M iGOf0ngHZaVVyrL81OzuNgPblNMnQ7weyU7++Zlvc5fqMH55V44HRgN28WH4p8xRftIRh/wGZ8K cGGcotfCFOxn68+sKhTNPfUZLEpXQoz2iHl3VssfJ7Z4q5xQuQIHVv2i+7sCCfjLXhwJbYCWZYj bMfnBgLpUmR83RQ1XOG4uYQMzgyWIqPwc6AStwGoX57m0FPstizWVgf3NkyhrezotcAp7JXM3bj REoBsw+Vbbr02IqB21+GkBTHJVs9sv16QSdURaBqtQyR0JKvlozukWaWOhI1Urssmd+NtYyvQ/x jUhO0sRGPzI+IxSLyU/Oj5eewx7QTUAf7zM8SMmp8/Jg+pEGZEwbvt+hUrpGbvXvWkhEU+6u4d5 QRJpVPeCg92RiMg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in scsi_register_driver() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- drivers/scsi/sr.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/scsi/sr.c b/drivers/scsi/sr.c index 268b3a40891e..7ab000942b97 100644 --- a/drivers/scsi/sr.c +++ b/drivers/scsi/sr.c @@ -95,7 +95,6 @@ static const struct dev_pm_ops sr_pm_ops = { static struct scsi_driver sr_template = { .gendrv = { .name = "sr", - .owner = THIS_MODULE, .probe = sr_probe, .remove = sr_remove, .pm = &sr_pm_ops, From patchwork Thu Mar 28 20:45:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 783991 Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 35E5313B58C for ; Thu, 28 Mar 2024 20:46:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711658766; cv=none; b=ci7joyyHrmRtpwaU6xLepOjA+S8h3+V4cmTjNNrHdqgD0QYwwvz9wGN7cB7gd5wHxW60gAWaUznnkDJUkbJB8fVJFz+jyXOgjBmRV0yQkz55pzuKvWsBmGuwXywFPb9X1nPqMcYHNcbfgPwpUbw+g31KwtRgCG4lEM8YOHRe79s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711658766; c=relaxed/simple; bh=2eL00kHrk9PZ4wV7+liPYn4xAdGVUS6T/yXYmc49iOE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=GnuwVJrBZ4k3mRYiiECdWsY8oSdUexHDXR+V1RaG/cRDPYGwlL+WGUuFB1NyuV/CsV5eeGtnTDD1OKGxKqxR7SAac0G5l4fs6oht7kU1aw2uitQpKQoDjqjCWdEXxazZ5fF91+/HytixOIEzSzUSZ8QRTNq8F0Bf0n8UTSOUTlQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=C3G49BWH; arc=none smtp.client-ip=209.85.128.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="C3G49BWH" Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-41490d05bafso13293485e9.1 for ; Thu, 28 Mar 2024 13:46:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711658762; x=1712263562; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=3fD9nrYXcpClsyVR0BSEl+mQF9yqUNdr6oBOx3H56zM=; b=C3G49BWH/vIoDOqRAu/SF0vmWT/GZqAX6SK2Ws/s4yMxLAPBxJT0NXNC/CJ/Ig4DhZ Z+pMHzBjvpsPqjOzzWvdJSlBOPOq7oZWeyJhnnWDpNOD3AEvSBU8qhhHbBCK/VPA4Wr7 ZF69yb8mZSgwn5fx0kV39ZSpGlI7SghG5JAMtJKfNAGG851U0KgEXGE3LKcqgx4H7ibR zcrZ0OFji7SYNK969eT7s6w3mkqQ3ZG7g9ByOORKiMVg8ojuxXx/32xU85h109E0t2GV H9KzUZax/V562py5+Y1hdPYQDR3PkazzfOGfg/qEPvATto7vdb7LBEQjxoKQQcFV8QNX DV+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711658762; x=1712263562; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3fD9nrYXcpClsyVR0BSEl+mQF9yqUNdr6oBOx3H56zM=; b=mGw4Lnqe7ziyLee/lMyEAeJyIv4cDfeCKE7okRwfW676YSVxCVXVq+K5XWJ29ds1Gy x3M+UqsevCrBUcI6jZYKkpFiE1/LGLQyUm9gh016KRduUn0Bo5+gsWzNdLJksrIQb+Ce xsF6YfLbuu3JU1JYuFxkGcZnyatGWkeeSofxMAHuaHLTsSftInbe82DHh41yYfFC5ejj BzjSTwLp8NeWcKYZImTQbAhxPilzxGbS1qhWKRmxQrKfDQkVXPkFGQw27lcWv+z1JMR6 B5AD1leaJ2YNQfpWhs4QUTfDlJNzkslFHxGoccop4CwjJmLg0w5J/EjRSspvcdNjFLIN UAPQ== X-Gm-Message-State: AOJu0YxwTmLT/M5wmoz0TMH9oma6EhJoA4d8ZgLVCVY4EzWv6Jhh6ai8 NriPWAQLgkqDQFZFfl/r0Jgq8pN25/1OE9cS3n+PdxG5TtaKLzKA54RS6K2fUbA= X-Google-Smtp-Source: AGHT+IFHHL0fhd0TNG1ORkHHa7La//2Q0gCdNCxnqIaveHIvGKPFspn7Abmn+XzZF3ygcNPdLhnU+g== X-Received: by 2002:a05:600c:1907:b0:414:5cec:a9dd with SMTP id j7-20020a05600c190700b004145ceca9ddmr416665wmq.38.1711658762607; Thu, 28 Mar 2024 13:46:02 -0700 (PDT) Received: from [127.0.1.1] ([178.197.223.50]) by smtp.gmail.com with ESMTPSA id t15-20020a05600c198f00b0041497459204sm4762697wmq.12.2024.03.28.13.46.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 13:46:01 -0700 (PDT) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 21:45:50 +0100 Subject: [PATCH 6/6] ufs: core: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-scsi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-b4-module-owner-scsi-v1-6-c86cb4f6e91c@linaro.org> References: <20240328-b4-module-owner-scsi-v1-0-c86cb4f6e91c@linaro.org> In-Reply-To: <20240328-b4-module-owner-scsi-v1-0-c86cb4f6e91c@linaro.org> To: "James E.J. Bottomley" , "Martin K. Petersen" , =?utf-8?q?Kai_M=C3=A4ki?= =?utf-8?q?sara?= , Alim Akhtar , Avri Altman , Bart Van Assche Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=746; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=2eL00kHrk9PZ4wV7+liPYn4xAdGVUS6T/yXYmc49iOE=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBdb/ZVotfrMskOzAZjjergAwKXcjYoMF0jqq1 ULj2NguWsOJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXW/wAKCRDBN2bmhouD 11rPD/9+pCrA4JIzLrUksF7HHrkMPhVCeIBN9FBLogbwu73/t5BWfxNnAd+V70VLTtRWkL3ScBe JdBh1ETXgOlBmvU2xyKUxdsxxNVNbdp1sLAYEIiSm2oHxBCU6HDZW7FowFzvxiMgGCoqIoeTS88 /s/9LA93qtwp4ku7GiPLPXMQHG7qJy8cVVxbmKzFxC55H/F7vyBxMwN1x6fkgxYIshq8BnJZVdQ ClwFyo6hPlfdBXRePWhT77VmO2S6htw7bkKYiG4ZvcO53EkC9xG2dC37WCsuKekYC3mKzBTdnPT ZFcAUbhvi55C+VIe2AsgJk9YZi12ftLx0V0SVvI7nAViMP0hmwy2bk3dBKUBMSmQ9NdrYt6u0jZ 2npr45NGpXi1ZBWWo9RLl+RTmeU++pGUoUCi+Rt2G1SxpNAXt4ImFZ3VEe+MWLcaYcGYJsoZVv5 xxE2VH+pcKOSFbaf8sutTLq8q0e1Z7pnLardcBBlYTyvIiKGkVVrwkumqQslItjTDaxM/si2M/c YUblY1PBAHW4V5pwYcPOJC53CIPHXZLxPX238ahmQWGDFjeEOFObETl0UDi2QorSao2stiwEGNJ NZeEIAwLhR/Gn7awmkUmx7rjqN1Sz8aRpZZgy9/Lm3sFVYl8bQYSQy9ibn5FoTrY6LsJIzsA8lV 5lpL9y8BX0fFj3g== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in scsi_register_driver() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- Depends on first SCSI patch. --- drivers/ufs/core/ufshcd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/ufs/core/ufshcd.c b/drivers/ufs/core/ufshcd.c index e30fd125988d..77fb9b2261a7 100644 --- a/drivers/ufs/core/ufshcd.c +++ b/drivers/ufs/core/ufshcd.c @@ -10896,7 +10896,6 @@ static void ufshcd_check_header_layout(void) static struct scsi_driver ufs_dev_wlun_template = { .gendrv = { .name = "ufs_device_wlun", - .owner = THIS_MODULE, .probe = ufshcd_wl_probe, .remove = ufshcd_wl_remove, .pm = &ufshcd_wl_pm_ops,