Re: [PATCH] speakup: Drop now-unused serialio operations
From: kernel test robot
Date: Wed Sep 23 2026 - 18:49:01 EST
Hi Samuel,
kernel test robot noticed the following build warnings:
[auto build test WARNING on staging/staging-testing]
[also build test WARNING on staging/staging-next staging/staging-linus linus/master v7.3-rc4 next-20260922]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Samuel-Thibault/speakup-Drop-now-unused-serialio-operations/20260922-083047
base: staging/staging-testing
patch link: https://lore.kernel.org/r/20260922063047.1392828-1-samuel.thibault%40ens-lyon.org
patch subject: [PATCH] speakup: Drop now-unused serialio operations
config: powerpc-randconfig-1000-20260924 (https://download.01.org/0day-ci/archive/20260924/202609240615.5JumpThZ-lkp@xxxxxxxxx/config)
compiler: powerpc-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260924/202609240615.5JumpThZ-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202609240615.5JumpThZ-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
>> drivers/accessibility/speakup/serialio.c:24:38: warning: 'serstate' defined but not used [-Wunused-variable]
static const struct old_serial_port *serstate;
^~~~~~~~
>> drivers/accessibility/speakup/serialio.c:20:37: warning: 'rs_table' defined but not used [-Wunused-const-variable=]
static const struct old_serial_port rs_table[] = {
^~~~~~~~
vim +/serstate +24 drivers/accessibility/speakup/serialio.c
5e6dc548e453c6 drivers/staging/speakup/serialio.c Chen Gang 2013-10-31 19
3ee0017e03cd79 drivers/staging/speakup/serialio.c Jiri Slaby 2012-03-05 @20 static const struct old_serial_port rs_table[] = {
c6e3fd22cd5383 drivers/staging/speakup/serialio.c William Hubbs 2010-10-07 21 SERIAL_PORT_DFNS
c6e3fd22cd5383 drivers/staging/speakup/serialio.c William Hubbs 2010-10-07 22 };
defaa9ad58dfc5 drivers/staging/speakup/serialio.c Arushi Singhal 2017-03-14 23
3ee0017e03cd79 drivers/staging/speakup/serialio.c Jiri Slaby 2012-03-05 @24 static const struct old_serial_port *serstate;
c6e3fd22cd5383 drivers/staging/speakup/serialio.c William Hubbs 2010-10-07 25 static int timeouts;
c6e3fd22cd5383 drivers/staging/speakup/serialio.c William Hubbs 2010-10-07 26
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki