All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Pengpeng Hou" <hppiscas@163.com>
Cc: linux-usb@vger.kernel.org
Subject: Re: [PATCH] USB: cdc-wdm: use IS_REACHABLE(CONFIG_WWAN) for WWAN integration
Date: Fri, 04 Dec 2026 02:42:14 +0000	[thread overview]
Message-ID: <sashiko-outbox-248999@kernel.org> (raw)
In-Reply-To: <179635067938.74470.13828888520339747814@163.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] usb: cdc-wdm: Fixes trailer cites 89212e160b81 instead of
  04d2b7553708
--

commit 8de670fa59d2b74b89301b5fc0288be89ca5484e
Author: Pengpeng Hou <hppiscas@163.com>

> USB: cdc-wdm: use IS_REACHABLE(CONFIG_WWAN) for WWAN integration
>
> A modular CDC WDM driver skips its WWAN port integration when the WWAN
> core is also a module. Both components are linkable in that combination.
>
> Use IS_REACHABLE so known port types can register with WWAN. Keep the
> checks for unknown types and unsuccessful registration.
>
> The issue was found by our static-analysis tool and manually reviewed.
>
> Fixes: 89212e160b81 ("net: wwan: Fix WWAN config symbols")
> Signed-off-by: Pengpeng Hou <hppiscas@163.com>

[Severity: Low]
Should the Fixes tag cite 04d2b7553708 ("usb: cdc-wdm: Fix check for WWAN")
instead?

Commit 89212e160b81 ("net: wwan: Fix WWAN config symbols") only renamed
the Kconfig symbols and did not touch drivers/usb/class/cdc-wdm.c.  Because
#ifdef CONFIG_WWAN was introduced by the later commit, stable backports
targeting the earlier one would not match the diff context.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/179635067938.74470.13828888520339747814@163.com?part=1

      reply	other threads:[~2026-12-04  2:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04  2:17 [PATCH] USB: cdc-wdm: use IS_REACHABLE(CONFIG_WWAN) for WWAN integration Pengpeng Hou
2026-12-04  2:42 ` sashiko-bot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sashiko-outbox-248999@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=hppiscas@163.com \
    --cc=linux-usb@vger.kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.