From: Ping-Ke Shih <pkshih@realtek.com>
To: kernel test robot <lkp@intel.com>, DeanKu <ku920601@realtek.com>
Cc: "llvm@lists.linux.dev" <llvm@lists.linux.dev>,
"oe-kbuild-all@lists.linux.dev" <oe-kbuild-all@lists.linux.dev>
Subject: RE: drivers/net/wireless/realtek/rtw89/coex.c:7957:51: warning: overlapping comparisons always evaluate to true
Date: Mon, 6 Jul 2026 03:18:37 +0000 [thread overview]
Message-ID: <7ae6279570514de596f7939c93d7bb2a@realtek.com> (raw)
In-Reply-To: <202607032153.rVIyuBbI-lkp@intel.com>
kernel test robot <lkp@intel.com> wrote:
>
> >> drivers/net/wireless/realtek/rtw89/coex.c:7957:51: warning: overlapping comparisons always
> evaluate to true [-Wtautological-overlap-compare]
> 7957 | if (wl->role_info.link_mode != BTC_WLINK_2G_MCC ||
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
> 7958 | wl->role_info.link_mode != BTC_WLINK_25G_MCC ||
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fixed by v2 [1]. Thanks.
[1] https://lore.kernel.org/linux-wireless/20260706025445.18428-1-pkshih@realtek.com/T/#t
prev parent reply other threads:[~2026-07-06 3:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-03 20:00 drivers/net/wireless/realtek/rtw89/coex.c:7957:51: warning: overlapping comparisons always evaluate to true kernel test robot
2026-07-06 3:18 ` Ping-Ke Shih [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=7ae6279570514de596f7939c93d7bb2a@realtek.com \
--to=pkshih@realtek.com \
--cc=ku920601@realtek.com \
--cc=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox