Re: [PATCH] speakup: Drop now-unused serialio operations

From: kernel test robot

Date: Wed Sep 23 2026 - 19:39:32 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: arm-randconfig-1002-20260924 (https://download.01.org/0day-ci/archive/20260924/202609240754.Q7KcTPuv-lkp@xxxxxxxxx/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260924/202609240754.Q7KcTPuv-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/202609240754.Q7KcTPuv-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> drivers/accessibility/speakup/serialio.c:20:37: warning: unused variable 'rs_table' [-Wunused-const-variable]
20 | static const struct old_serial_port rs_table[] = {
| ^~~~~~~~
>> drivers/accessibility/speakup/serialio.c:24:38: warning: unused variable 'serstate' [-Wunused-variable]
24 | static const struct old_serial_port *serstate;
| ^~~~~~~~
2 warnings generated.


vim +/rs_table +20 drivers/accessibility/speakup/serialio.c

5e6dc548e453c68 drivers/staging/speakup/serialio.c Chen Gang 2013-10-31 19
3ee0017e03cd790 drivers/staging/speakup/serialio.c Jiri Slaby 2012-03-05 @20 static const struct old_serial_port rs_table[] = {
c6e3fd22cd53836 drivers/staging/speakup/serialio.c William Hubbs 2010-10-07 21 SERIAL_PORT_DFNS
c6e3fd22cd53836 drivers/staging/speakup/serialio.c William Hubbs 2010-10-07 22 };
defaa9ad58dfc56 drivers/staging/speakup/serialio.c Arushi Singhal 2017-03-14 23
3ee0017e03cd790 drivers/staging/speakup/serialio.c Jiri Slaby 2012-03-05 @24 static const struct old_serial_port *serstate;
c6e3fd22cd53836 drivers/staging/speakup/serialio.c William Hubbs 2010-10-07 25 static int timeouts;
c6e3fd22cd53836 drivers/staging/speakup/serialio.c William Hubbs 2010-10-07 26

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki