From: kernel test robot <lkp@intel.com>
To: "Bera Yüzlü" <b9788213@gmail.com>,
gregkh@linuxfoundation.org, linux-staging@lists.linux.dev
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] staging: rtl8723bs: refactor halbtc8723b1ant_CoexTableWithType() to remove duplication
Date: Mon, 9 Feb 2026 02:35:20 +0800 [thread overview]
Message-ID: <202602090207.A176hCPb-lkp@intel.com> (raw)
In-Reply-To: <aYiMi-X5r4aUEC32@BERA.localdomain>
Hi Bera,
kernel test robot noticed the following build warnings:
[auto build test WARNING on staging/staging-testing]
url: https://github.com/intel-lab-lkp/linux/commits/Bera-Y-zl/staging-rtl8723bs-refactor-halbtc8723b1ant_CoexTableWithType-to-remove-duplication/20260208-211800
base: staging/staging-testing
patch link: https://lore.kernel.org/r/aYiMi-X5r4aUEC32%40BERA.localdomain
patch subject: [PATCH] staging: rtl8723bs: refactor halbtc8723b1ant_CoexTableWithType() to remove duplication
config: sparc64-allmodconfig (https://download.01.org/0day-ci/archive/20260209/202602090207.A176hCPb-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 9b8addffa70cee5b2acc5454712d9cf78ce45710)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260209/202602090207.A176hCPb-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202602090207.A176hCPb-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c:700:9: warning: result of comparison of constant -1 with expression of type 'u8' (aka 'unsigned char') is always true [-Wtautological-constant-out-of-range-compare]
700 | if (-1 < type && type < 8)
| ~~ ^ ~~~~
1 warning generated.
vim +700 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c
682
683 static void halbtc8723b1ant_CoexTableWithType(
684 struct btc_coexist *pBtCoexist, bool bForceExec, u8 type
685 )
686 {
687 static const u32 table[8][2] = {
688 {0x55555555, 0x55555555},
689 {0x55555555, 0x5a5a5a5a},
690 {0x5a5a5a5a, 0x5a5a5a5a},
691 {0xaaaa5555, 0xaaaa5a5a},
692 {0x55555555, 0xaaaa5a5a},
693 {0x5a5a5a5a, 0xaaaa5a5a},
694 {0x55555555, 0xaaaaaaaa},
695 {0xaaaaaaaa, 0xaaaaaaaa}
696 };
697
698 pCoexSta->nCoexTableType = type;
699
> 700 if (-1 < type && type < 8)
701 halbtc8723b1ant_CoexTable(
702 pBtCoexist, bForceExec, table[type][0], table[type][1], 0xffffff, 0x3
703 );
704 }
705
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
parent reply other threads:[~2026-02-08 18:36 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <aYiMi-X5r4aUEC32@BERA.localdomain>]
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=202602090207.A176hCPb-lkp@intel.com \
--to=lkp@intel.com \
--cc=b9788213@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--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