From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796350039; b=KJQzaRAbF0JlIbLeqPCwHyq5EE89Y1vOyRgbeOlNfeevqoTr3ccTtOzp6kuoFfYSkwER pIBgkpKMQTj3cY+JTZEs7iy1bbJnx02wX0YoDTpTI37PWoRO0u1CHG2mdLfpCBiB5zRYa nsN/JVXtL/qmJNj9PMEUA0M7i3rXiPCvV/Mda1ABPuQhZQHPnTbNcpZaUCwvvr9olXu2x R2baKfZ1BCQ89VR/fY/LUf57FGtGazZK+Bl9+gV4SeTkrsvvpGUg3ncQ5l9xCQMhDe6WF MQhdkjJ+/PKIqmLOe1V6LLT3g5fKlQSLZ/kAQi+d1n/JOwQIk8UlYJwtNc2l+khzC5w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796350039; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=ONpN9qN3rgpRzu6/0sg3Eau5gnR2nu3Af+a07SiQxWE=; b=UewYld1OsnJhDu4k/BL0DlgkO31ae0KEoIgsPB0UElp4c7rb9KvYb67XKToUEGPjSvO/ e0zmrj0TWu/jbrF95lObB9QxXucXiwMtj6PO+hLIAPEHP1JizDRMgkuLyjLBzkWxc1ixs 5OXXPKBmALe1A3kBl45RWsVOn/8h75rfkaSYZ0xGspqN1ZZVU7rgztaQewmmMarf6vE19 c+drmA9fweAJaB89rodT1nuV1aSx4Ot9JRzIYM+AGPYe4wUH1fuWTxMsCjRzbIgqsAxI0 rGHjDmL0e/Nhf0i3cuLELR8rlCVXSeTzpzAHp90lFGpbaihoCL1ikUqtmsnOYn/XRkA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=n5fV5Thz; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CF00C606A322 for ; Fri, 4 Dec 2026 02:07:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=n5fV5Thz Received: by smtp.kernel.org (Postfix) with ESMTPSA id 51A001F000C2; Fri, 4 Dec 2026 02:07:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796350039; bh=ONpN9qN3rgpRzu6/0sg3Eau5gnR2nu3Af+a07SiQxWE=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=n5fV5ThzsRGs8Y2tturaKAKfoGFLbCWpQDg0/GCSqnNBcUpDlWUoaSTJ3vrnXuwfH AgmfLMekcYzVKifqGeDOFrcRK1exFBoroZjKS11RIw39qd441ySyNohCM2mR9zmHpB h3kXgQI+mBfeX8nzrmlxTefnErZldMeDww9sl/Cuz2lNkYSDD2X/wVdSsvaTe93inO yX067WRWZvMPdBl+HCCzBpKQippnUHz8kEhZB19govhgyt0ZyzCHYJPPMnBb6u5Vdo 2IRdXlVi/Z+n+hle0kyVoygCD7T6H4RciO/US7qhF8Iterb7hPpTXBgnNJWJ75r4YN 1VDOhiFOVvoMg== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH] usb: chipidea: use IS_REACHABLE() for CONFIG_USB_OTG_FSM guards Reply-To: sashiko-reviews@lists.linux.dev To: "Pengpeng Hou" Cc: linux-usb@vger.kernel.org In-Reply-To: <179634918375.74470.14982859118717970691@163.com> References: <179634918375.74470.14982859118717970691@163.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Dec 2026 02:07:18 +0000 X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list > The ChipIdea OTG work and initialization paths use different tests for > USB_OTG_FSM. With both components modular, a plain CONFIG_USB_OTG_FSM > test selects the stub even though the FSM code is reachable. >=20 > Use the same reachability test for the declaration and the > implementation path. A built-in consumer must still not reference a > module-only provider. >=20 > The issue was found by our static-analysis tool and manually reviewed. >=20 > Fixes: 57677be5ef83 ("usb: chipidea: usb OTG fsm initialization.") > Fixes: cf4f21938e13 ("kbuild: Allow to specify composite modules with mod= name-m") > Signed-off-by: Pengpeng Hou Sashiko has reviewed this patch and found no issues. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/179634918375.74470.= 14982859118717970691@163.com?part=3D1