linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* arch/mips/sgi-ip30/ip30-setup.c:122:13: warning: no previous prototype for 'plat_mem_setup'
@ 2020-10-19  0:43 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2020-10-19  0:43 UTC (permalink / raw)
  To: Thomas Bogendoerfer; +Cc: kbuild-all, linux-kernel, Paul Burton

[-- Attachment #1: Type: text/plain, Size: 2053 bytes --]

Hi Thomas,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   7cf726a59435301046250c42131554d9ccc566b8
commit: 7505576d1c1ac0cfe85fdf90999433dd8b673012 MIPS: add support for SGI Octane (IP30)
date:   12 months ago
config: mips-randconfig-r021-20201019 (attached as .config)
compiler: mips64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7505576d1c1ac0cfe85fdf90999433dd8b673012
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 7505576d1c1ac0cfe85fdf90999433dd8b673012
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> arch/mips/sgi-ip30/ip30-setup.c:122:13: warning: no previous prototype for 'plat_mem_setup' [-Wmissing-prototypes]
     122 | void __init plat_mem_setup(void)
         |             ^~~~~~~~~~~~~~
--
>> arch/mips/sgi-ip30/ip30-console.c:15:6: warning: no previous prototype for 'prom_putchar' [-Wmissing-prototypes]
      15 | void prom_putchar(char c)
         |      ^~~~~~~~~~~~

vim +/plat_mem_setup +122 arch/mips/sgi-ip30/ip30-setup.c

   118	
   119	/**
   120	 * plat_mem_setup - despite the name, misc setup happens here.
   121	 */
 > 122	void __init plat_mem_setup(void)
   123	{
   124		ip30_mem_init();
   125	
   126		/* XXX: Hard lock on /sbin/init if this flag isn't specified. */
   127		prom_flags |= PROM_FLAG_DONT_FREE_TEMP;
   128	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 28108 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* arch/mips/sgi-ip30/ip30-setup.c:122:13: warning: no previous prototype for 'plat_mem_setup'
@ 2023-11-05  7:15 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2023-11-05  7:15 UTC (permalink / raw)
  To: Thomas Bogendoerfer; +Cc: oe-kbuild-all, linux-kernel, Paul Burton

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   aea6bf908d730b01bd264a8821159db9463c111c
commit: 7505576d1c1ac0cfe85fdf90999433dd8b673012 MIPS: add support for SGI Octane (IP30)
date:   4 years ago
config: mips-randconfig-r016-20230221 (https://download.01.org/0day-ci/archive/20231105/202311051519.Wm6XIMdt-lkp@intel.com/config)
compiler: mips64-linux-gcc (GCC) 11.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231105/202311051519.Wm6XIMdt-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/202311051519.Wm6XIMdt-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> arch/mips/sgi-ip30/ip30-setup.c:122:13: warning: no previous prototype for 'plat_mem_setup' [-Wmissing-prototypes]
     122 | void __init plat_mem_setup(void)
         |             ^~~~~~~~~~~~~~


vim +/plat_mem_setup +122 arch/mips/sgi-ip30/ip30-setup.c

   118	
   119	/**
   120	 * plat_mem_setup - despite the name, misc setup happens here.
   121	 */
 > 122	void __init plat_mem_setup(void)
   123	{
   124		ip30_mem_init();
   125	
   126		/* XXX: Hard lock on /sbin/init if this flag isn't specified. */
   127		prom_flags |= PROM_FLAG_DONT_FREE_TEMP;
   128	

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* arch/mips/sgi-ip30/ip30-setup.c:122:13: warning: no previous prototype for 'plat_mem_setup'
@ 2020-08-02  1:36 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2020-08-02  1:36 UTC (permalink / raw)
  To: Thomas Bogendoerfer; +Cc: kbuild-all, linux-kernel, Paul Burton

[-- Attachment #1: Type: text/plain, Size: 1550 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   d52daa8620c65960e1ef882adc1f92061326bd7a
commit: 7505576d1c1ac0cfe85fdf90999433dd8b673012 MIPS: add support for SGI Octane (IP30)
date:   9 months ago
config: mips-randconfig-r014-20200802 (attached as .config)
compiler: mips64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 7505576d1c1ac0cfe85fdf90999433dd8b673012
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> arch/mips/sgi-ip30/ip30-setup.c:122:13: warning: no previous prototype for 'plat_mem_setup' [-Wmissing-prototypes]
     122 | void __init plat_mem_setup(void)
         |             ^~~~~~~~~~~~~~

vim +/plat_mem_setup +122 arch/mips/sgi-ip30/ip30-setup.c

   118	
   119	/**
   120	 * plat_mem_setup - despite the name, misc setup happens here.
   121	 */
 > 122	void __init plat_mem_setup(void)
   123	{
   124		ip30_mem_init();
   125	
   126		/* XXX: Hard lock on /sbin/init if this flag isn't specified. */
   127		prom_flags |= PROM_FLAG_DONT_FREE_TEMP;
   128	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 27855 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-11-05  7:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-19  0:43 arch/mips/sgi-ip30/ip30-setup.c:122:13: warning: no previous prototype for 'plat_mem_setup' kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2023-11-05  7:15 kernel test robot
2020-08-02  1:36 kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).