lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202309240004.TQItBMlc-lkp@intel.com>
Date:   Sun, 24 Sep 2023 00:37:22 +0800
From:   kernel test robot <lkp@...el.com>
To:     Geert Uytterhoeven <geert+renesas@...der.be>
Cc:     oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
        Rich Felker <dalias@...c.org>
Subject: arch/sh/boards/mach-landisk/setup.c:86:9: error: implicit
 declaration of function '__set_io_port_base'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   d90b0276af8f25a0b8ae081a30d1b2a61263393b
commit: 0c64a0dce51faa9c706fdf1f957d6f19878f4b81 sh: landisk: Add missing initialization of sh_io_port_base
date:   3 years, 1 month ago
config: sh-randconfig-r021-20220916 (https://download.01.org/0day-ci/archive/20230924/202309240004.TQItBMlc-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230924/202309240004.TQItBMlc-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202309240004.TQItBMlc-lkp@intel.com/

All errors (new ones prefixed by >>):

   arch/sh/boards/mach-landisk/setup.c: In function 'landisk_setup':
>> arch/sh/boards/mach-landisk/setup.c:86:9: error: implicit declaration of function '__set_io_port_base' [-Werror=implicit-function-declaration]
      86 |         __set_io_port_base(0);
         |         ^~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +/__set_io_port_base +86 arch/sh/boards/mach-landisk/setup.c

    82	
    83	static void __init landisk_setup(char **cmdline_p)
    84	{
    85		/* I/O port identity mapping */
  > 86		__set_io_port_base(0);
    87	
    88		/* LED ON */
    89		__raw_writeb(__raw_readb(PA_LED) | 0x03, PA_LED);
    90	
    91		printk(KERN_INFO "I-O DATA DEVICE, INC. \"LANDISK Series\" support.\n");
    92		pm_power_off = landisk_power_off;
    93	}
    94	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ