From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.128.44 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796204206; b=UlgnZd7OnoduQL+Ntc7+dW2yzgqOczIrM+x8t2B+FCJC4GHBqc+RyBkg/EPogspdcjSQ r24+uO+mEgKGuqz0p+rwsWNSnlW7t7lC2UVGaXAkSUTt+jmGNZakxo1hjGtoQXsfuUUI1 LoVPYYaREaKHV3iG14ERSiMfrQafTTPXDskVxb42zRwC25PgBbm2CrL4lVPes0UsSwmnD XL8FzNt7K6wEuokeyg8nOBzvX58RnYzkxhHiid+cQDEjk9Cnwds78NYQlKcWVKHnf1AH9 M1e8dyBEgAWHBneC5SOtIkfV7JGUZjraDrSpAOEEIDmjcnwf8clPziUrggvuj5LV5NA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796204206; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:Content-Transfer-Encoding:User-Agent:MIME-Version; bh=ffveN90mQDvbKkXdzfxn4meO/+OebE9UKH+BnLqjdhs=; b=yVOVsWuL0LdtsTX8NZ0aScmksA7Kbdp6nCu1Tuv1u9TGxAe4Hezg2EegzIeCNSsQibXy hM5VBvmkMF19yJUeWyq1pCu20eIKxm3RtrHC1MkaEIPgmZtuxa/xYum7HFvk7kuDJVR42 8aOAFnyzK4LaKCtQU3jpDWSNbcVJkm9Fpf96RX7Id8CZx1E8u/PrUk1bgISCO5iR/f7FQ X9Te66j5qh7Z0bpdRq1YRbcoJ4z7apv4M8Ou+ZJOV2EeV8CGqBU0iPf6FcUvaSLug7nv+ uEfofjUduRGDGRIbQ0n00XQjklK+0cgKQtAI9II1rJXi3VCmxoOD5S9lZzLa6fCAE/A== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=PvGDK3SO; arc=none smtp.remote-ip=209.85.128.44 Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6B7FD606A32D for ; Wed, 2 Dec 2026 09:36:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 6B7FD606A32D 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.a=rsa-sha256 header.s=google header.b=PvGDK3SO Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-4bb9d8e8e90so96956965e9.3 for ; Wed, 02 Dec 2026 01:36:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1796204204; x=1796809004; darn=vger.kernel.org; h=mime-version:user-agent:content-transfer-encoding:content-type :references:in-reply-to:date:cc:to:from:subject:message-id:from:to :cc:subject:date:message-id:reply-to:content-type; bh=ffveN90mQDvbKkXdzfxn4meO/+OebE9UKH+BnLqjdhs=; b=PvGDK3SOfJJko7o4YrMmyNNSLrXbURC20BSqxd7fx5DrqB9y9hDPfwe4/JG2ZbMLyy nulr6ktwg6E4lmyLKgSJHbYT1S1a0jLVSyMmQ+z6b0vgRYhwFGwy8JPIbW6KxQG4cVup zzH7g72Ar8MpotTyxzWoKKwwRPy0T6xtKsnYu0quqxJqq93ZJ+VT2lf/QU8AHc+LB1bt Ie0Cv5SlPw58/Q9r7CJ9ACTzD41Bi+o8Jk4BSrFrZKZcEX41fZPFP0CyOB8liEOBaQGp Y/u+KxFY14sC4z7ds+OHRnDArCZyyccvcRfx9vpf057jH+/i1EGdPBd4s+ChZ5z/zi8A 5WgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796204204; x=1796809004; h=mime-version:user-agent:content-transfer-encoding:content-type :references:in-reply-to:date:cc:to:from:subject:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=ffveN90mQDvbKkXdzfxn4meO/+OebE9UKH+BnLqjdhs=; b=frDtjD6EDQcE/x7HlvzkgLanyunZ5SCd9zczMlKHcZzeRY7BKQEawD/pKP3CXFir2r SDJjcsLxstnJQEM94BCryz3fcN/7sFM91jPNzaodVJNDv0f7v+Oc7gxbquIUgVLTc0qZ QBLfvx1hiVRoesiWe22WCKYb5bHikL2W3CeWufKGUDqUp2DgA7FT3eMTYNXXX3MGIx+1 JKupgT74iwjT+zaxW834l3W1Cmt4YEsba43vecJXqcxvfAVFfg6T5+RMfXugW+kEqrRi QO1BdYEwpgN/Gl1Q4EQQNYejJhnJQA3/PASWaiE8O4BmSBfqiMpCF6S60Egp388XORpp bBMA== X-Forwarded-Encrypted: i=1; AL+hErE5yugAVNPfaFg2ZEsdnUpbcItY7H7mBwhHF+0a2qET2Df0eBI2HdKHExXfM1qRfeRoAMOeiwgMM6g3uSE=@vger.kernel.org X-Gm-Message-State: APuU4Z8Yopcul6zzM/JDlCfW4kf78eoyh4nT3t3t9OXAx6j6Adwz25CF GvWIrJHwGbuZkrGLTL2VGr6OBTBsv/eoCyFSpPkW5OcrCmDNpGV2rm/ObrhtAylulxI= X-Gm-Gg: AZFdTZf3YewLvBCvA9yG7E7q5bGvXkSxNkjgSe9DIH8b6fPdt5DD1JZfUiaE/jDFGh6 bTw38OV/2hIAtfEOUcHjdp8zDR6ZmwdKiwGmyEeijYFbQHvZtDqWSI+w0GFp2k6gIs5v9xAGzRI pj+DS2q7EPoDIfOExY/ZlB4o8wXLum5QAKnAjfy+14U4xNuGAqmhX57tcgTMIV2fnrCF4Hu9rQ5 Yfmh3wDRnBX5unAUP4YLpEWodQJEHqSg7xh06WHXmjQZ8W7vmVVRP8zQc3LMpqirZK0yCNOWrYh CA83pacoPbxNIMF0P3xs3Sct5yeWKk/mwlw0CujmznOSUuyxqFOcmlDATkM3SPpB9XQI7WBT+e/ KXNLZy752ZC+3858A1Ht1ThF55l1EUoa8P0QnO9rd2FxNmdvwFz0c2YlKZVhYA+0vkJWFiHXz7C b2o3CEvANFeHsnCiclDBcaERe0/ePjKolNewvUrSkLCm97tuo7Bva6FwXmeWM+dZEPrtcgeFBpb j0xzR0mi+CZUdCfOWYjLacxx9EuOXpTf3IZ+fBroU30uu101vRpDVUR6KqVMX2Klwp2gf74BFmd TrC+UFso/a8VzoDTimnJdoZerfzJ8c9NKw== X-Received: by 2002:a05:600c:154c:b0:4a2:1364:252a with SMTP id 5b1f17b1804b1-4bb887c28a8mr775567185e9.3.1796204203864; Wed, 02 Dec 2026 01:36:43 -0800 (PST) Received: from [10.1.1.59] ([109.255.181.4]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4cd29a369c1sm2017854f8f.57.2026.12.02.01.36.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2026 01:36:43 -0800 (PST) Message-ID: <9f5c1c3f0d47629e8d397233ffda1a0b9bf81c5f.camel@linaro.org> Subject: Re: [PATCH 05/10] phy: google: usb: Set .owner = THIS_MODULE From: =?ISO-8859-1?Q?Andr=E9?= Draszik To: Ian Rogers , Vinod Koul Cc: Neil Armstrong , Manivannan Sadhasivam , Nathan Chancellor , linux-phy@lists.infradead.org, llvm@lists.linux.dev, linux-kernel@vger.kernel.org, Peter Griffin , Tudor Ambarus , Roy Luo , Joy Chakraborty , Naveen Kumar , RD Babiera , Neill Kapron , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Date: Wed, 02 Dec 2026 09:37:01 +0000 In-Reply-To: <20261130225428.99361-6-irogers@google.com> References: <20261130225428.99361-1-irogers@google.com> <20261130225428.99361-6-irogers@google.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.2-9+build1 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 On Mon, 2026-11-30 at 14:54 -0800, Ian Rogers wrote: > phy_get() and of_phy_get() call try_module_get(phy->ops->owner) to pin > the PHY provider module while the PHY is in use, and of_phy_put() calls > module_put(phy->ops->owner). Because phy->ops is const struct phy_ops *, > phy_create() cannot populate ops->owner at runtime, and > try_module_get(NULL) returns true without incrementing the module > reference count. >=20 > Set .owner =3D THIS_MODULE in google_usb2_phy_ops and google_usb3_phy_ops= , > found with Clang's require_explicit_initialization attribute. >=20 > Fixes: cbce66669c82 ("phy: Add Google Tensor SoC USB PHY driver") > Fixes: 8c2b331e6327 ("phy: Add USB3 PHY support to Google Tensor SoC USB = PHY driver") > Signed-off-by: Ian Rogers > --- > =C2=A0drivers/phy/phy-google-usb.c | 2 ++ > =C2=A01 file changed, 2 insertions(+) Reviewed-by: Andr=C3=A9 Draszik