* arch/mips/kernel/relocate.c:41:12: warning: no previous prototype for 'plat_post_relocation'
@ 2021-12-16 11:20 kernel test robot
0 siblings, 0 replies; 5+ messages in thread
From: kernel test robot @ 2021-12-16 11:20 UTC (permalink / raw)
To: Jinyang He; +Cc: kbuild-all, linux-kernel, Thomas Bogendoerfer
Hi Jinyang,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 2b14864acbaaf03d9c01982e243a84632524c3ac
commit: a307a4ce9ecd2e23c71318201330d9d648b3f818 MIPS: Loongson64: Add KASLR support
date: 1 year, 1 month ago
config: mips-randconfig-r012-20211216 (https://download.01.org/0day-ci/archive/20211216/202112161913.eRJj41Fh-lkp@intel.com/config)
compiler: mips64el-linux-gcc (GCC) 11.2.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=a307a4ce9ecd2e23c71318201330d9d648b3f818
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout a307a4ce9ecd2e23c71318201330d9d648b3f818
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=mips SHELL=/bin/bash arch/mips/kernel/ arch/mips/lib/
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/kernel/relocate.c:41:12: warning: no previous prototype for 'plat_post_relocation' [-Wmissing-prototypes]
41 | int __weak plat_post_relocation(long offset)
| ^~~~~~~~~~~~~~~~~~~~
arch/mips/kernel/relocate.c:135:12: warning: no previous prototype for 'do_relocations' [-Wmissing-prototypes]
135 | int __init do_relocations(void *kbase_old, void *kbase_new, long offset)
| ^~~~~~~~~~~~~~
>> arch/mips/kernel/relocate.c:304:14: warning: no previous prototype for 'relocate_kernel' [-Wmissing-prototypes]
304 | void *__init relocate_kernel(void)
| ^~~~~~~~~~~~~~~
arch/mips/kernel/relocate.c:415:6: warning: no previous prototype for 'show_kernel_relocation' [-Wmissing-prototypes]
415 | void show_kernel_relocation(const char *level)
| ^~~~~~~~~~~~~~~~~~~~~~
vim +/plat_post_relocation +41 arch/mips/kernel/relocate.c
4c9fff362261d68 Marcin Nowakowski 2016-11-23 35
8cc709d7d4f013f Steven J. Hill 2016-12-09 36 /*
8cc709d7d4f013f Steven J. Hill 2016-12-09 37 * This function may be defined for a platform to perform any post-relocation
8cc709d7d4f013f Steven J. Hill 2016-12-09 38 * fixup necessary.
8cc709d7d4f013f Steven J. Hill 2016-12-09 39 * Return non-zero to abort relocation
8cc709d7d4f013f Steven J. Hill 2016-12-09 40 */
8cc709d7d4f013f Steven J. Hill 2016-12-09 @41 int __weak plat_post_relocation(long offset)
8cc709d7d4f013f Steven J. Hill 2016-12-09 42 {
8cc709d7d4f013f Steven J. Hill 2016-12-09 43 return 0;
8cc709d7d4f013f Steven J. Hill 2016-12-09 44 }
8cc709d7d4f013f Steven J. Hill 2016-12-09 45
:::::: The code at line 41 was first introduced by commit
:::::: 8cc709d7d4f013f51d38ceb2e3c8c82d230cf457 MIPS: Relocatable: Provide plat_post_relocation hook
:::::: TO: Steven J. Hill <Steven.Hill@cavium.com>
:::::: CC: Ralf Baechle <ralf@linux-mips.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
^ permalink raw reply [flat|nested] 5+ messages in thread
* arch/mips/kernel/relocate.c:41:12: warning: no previous prototype for 'plat_post_relocation'
@ 2022-03-25 9:12 kernel test robot
0 siblings, 0 replies; 5+ messages in thread
From: kernel test robot @ 2022-03-25 9:12 UTC (permalink / raw)
To: Jinyang He; +Cc: kbuild-all, linux-kernel, Thomas Bogendoerfer
Hi Jinyang,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 34af78c4e616c359ed428d79fe4758a35d2c5473
commit: a307a4ce9ecd2e23c71318201330d9d648b3f818 MIPS: Loongson64: Add KASLR support
date: 1 year, 4 months ago
config: mips-randconfig-r006-20220325 (https://download.01.org/0day-ci/archive/20220325/202203251712.kpiEBAwp-lkp@intel.com/config)
compiler: mips64el-linux-gcc (GCC) 11.2.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=a307a4ce9ecd2e23c71318201330d9d648b3f818
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout a307a4ce9ecd2e23c71318201330d9d648b3f818
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=mips SHELL=/bin/bash arch/mips/kernel/
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/kernel/relocate.c:41:12: warning: no previous prototype for 'plat_post_relocation' [-Wmissing-prototypes]
41 | int __weak plat_post_relocation(long offset)
| ^~~~~~~~~~~~~~~~~~~~
arch/mips/kernel/relocate.c:135:12: warning: no previous prototype for 'do_relocations' [-Wmissing-prototypes]
135 | int __init do_relocations(void *kbase_old, void *kbase_new, long offset)
| ^~~~~~~~~~~~~~
>> arch/mips/kernel/relocate.c:304:14: warning: no previous prototype for 'relocate_kernel' [-Wmissing-prototypes]
304 | void *__init relocate_kernel(void)
| ^~~~~~~~~~~~~~~
arch/mips/kernel/relocate.c:415:6: warning: no previous prototype for 'show_kernel_relocation' [-Wmissing-prototypes]
415 | void show_kernel_relocation(const char *level)
| ^~~~~~~~~~~~~~~~~~~~~~
vim +/plat_post_relocation +41 arch/mips/kernel/relocate.c
4c9fff362261d6 Marcin Nowakowski 2016-11-23 35
8cc709d7d4f013 Steven J. Hill 2016-12-09 36 /*
8cc709d7d4f013 Steven J. Hill 2016-12-09 37 * This function may be defined for a platform to perform any post-relocation
8cc709d7d4f013 Steven J. Hill 2016-12-09 38 * fixup necessary.
8cc709d7d4f013 Steven J. Hill 2016-12-09 39 * Return non-zero to abort relocation
8cc709d7d4f013 Steven J. Hill 2016-12-09 40 */
8cc709d7d4f013 Steven J. Hill 2016-12-09 @41 int __weak plat_post_relocation(long offset)
8cc709d7d4f013 Steven J. Hill 2016-12-09 42 {
8cc709d7d4f013 Steven J. Hill 2016-12-09 43 return 0;
8cc709d7d4f013 Steven J. Hill 2016-12-09 44 }
8cc709d7d4f013 Steven J. Hill 2016-12-09 45
:::::: The code at line 41 was first introduced by commit
:::::: 8cc709d7d4f013f51d38ceb2e3c8c82d230cf457 MIPS: Relocatable: Provide plat_post_relocation hook
:::::: TO: Steven J. Hill <Steven.Hill@cavium.com>
:::::: CC: Ralf Baechle <ralf@linux-mips.org>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] 5+ messages in thread
* arch/mips/kernel/relocate.c:41:12: warning: no previous prototype for 'plat_post_relocation'
@ 2021-11-18 1:45 kernel test robot
0 siblings, 0 replies; 5+ messages in thread
From: kernel test robot @ 2021-11-18 1:45 UTC (permalink / raw)
To: Jinyang He; +Cc: kbuild-all, linux-kernel, Thomas Bogendoerfer
[-- Attachment #1: Type: text/plain, Size: 3235 bytes --]
Hi Jinyang,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 42eb8fdac2fc5d62392dcfcf0253753e821a97b0
commit: a307a4ce9ecd2e23c71318201330d9d648b3f818 MIPS: Loongson64: Add KASLR support
date: 12 months ago
config: mips-randconfig-r033-20211116 (attached as .config)
compiler: mips64el-linux-gcc (GCC) 11.2.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=a307a4ce9ecd2e23c71318201330d9d648b3f818
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout a307a4ce9ecd2e23c71318201330d9d648b3f818
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.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/kernel/relocate.c:41:12: warning: no previous prototype for 'plat_post_relocation' [-Wmissing-prototypes]
41 | int __weak plat_post_relocation(long offset)
| ^~~~~~~~~~~~~~~~~~~~
arch/mips/kernel/relocate.c:135:12: warning: no previous prototype for 'do_relocations' [-Wmissing-prototypes]
135 | int __init do_relocations(void *kbase_old, void *kbase_new, long offset)
| ^~~~~~~~~~~~~~
>> arch/mips/kernel/relocate.c:304:14: warning: no previous prototype for 'relocate_kernel' [-Wmissing-prototypes]
304 | void *__init relocate_kernel(void)
| ^~~~~~~~~~~~~~~
arch/mips/kernel/relocate.c:415:6: warning: no previous prototype for 'show_kernel_relocation' [-Wmissing-prototypes]
415 | void show_kernel_relocation(const char *level)
| ^~~~~~~~~~~~~~~~~~~~~~
vim +/plat_post_relocation +41 arch/mips/kernel/relocate.c
4c9fff362261d6 Marcin Nowakowski 2016-11-23 35
8cc709d7d4f013 Steven J. Hill 2016-12-09 36 /*
8cc709d7d4f013 Steven J. Hill 2016-12-09 37 * This function may be defined for a platform to perform any post-relocation
8cc709d7d4f013 Steven J. Hill 2016-12-09 38 * fixup necessary.
8cc709d7d4f013 Steven J. Hill 2016-12-09 39 * Return non-zero to abort relocation
8cc709d7d4f013 Steven J. Hill 2016-12-09 40 */
8cc709d7d4f013 Steven J. Hill 2016-12-09 @41 int __weak plat_post_relocation(long offset)
8cc709d7d4f013 Steven J. Hill 2016-12-09 42 {
8cc709d7d4f013 Steven J. Hill 2016-12-09 43 return 0;
8cc709d7d4f013 Steven J. Hill 2016-12-09 44 }
8cc709d7d4f013 Steven J. Hill 2016-12-09 45
:::::: The code at line 41 was first introduced by commit
:::::: 8cc709d7d4f013f51d38ceb2e3c8c82d230cf457 MIPS: Relocatable: Provide plat_post_relocation hook
:::::: TO: Steven J. Hill <Steven.Hill@cavium.com>
:::::: CC: Ralf Baechle <ralf@linux-mips.org>
---
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: 35291 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* arch/mips/kernel/relocate.c:41:12: warning: no previous prototype for 'plat_post_relocation'
@ 2021-11-10 12:10 kernel test robot
0 siblings, 0 replies; 5+ messages in thread
From: kernel test robot @ 2021-11-10 12:10 UTC (permalink / raw)
To: Jinyang He; +Cc: kbuild-all, linux-kernel, Thomas Bogendoerfer
[-- Attachment #1: Type: text/plain, Size: 3235 bytes --]
Hi Jinyang,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: cb690f5238d71f543f4ce874aa59237cf53a877c
commit: a307a4ce9ecd2e23c71318201330d9d648b3f818 MIPS: Loongson64: Add KASLR support
date: 12 months ago
config: mips-randconfig-r005-20211002 (attached as .config)
compiler: mips64el-linux-gcc (GCC) 11.2.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=a307a4ce9ecd2e23c71318201330d9d648b3f818
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout a307a4ce9ecd2e23c71318201330d9d648b3f818
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.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/kernel/relocate.c:41:12: warning: no previous prototype for 'plat_post_relocation' [-Wmissing-prototypes]
41 | int __weak plat_post_relocation(long offset)
| ^~~~~~~~~~~~~~~~~~~~
arch/mips/kernel/relocate.c:135:12: warning: no previous prototype for 'do_relocations' [-Wmissing-prototypes]
135 | int __init do_relocations(void *kbase_old, void *kbase_new, long offset)
| ^~~~~~~~~~~~~~
>> arch/mips/kernel/relocate.c:304:14: warning: no previous prototype for 'relocate_kernel' [-Wmissing-prototypes]
304 | void *__init relocate_kernel(void)
| ^~~~~~~~~~~~~~~
arch/mips/kernel/relocate.c:415:6: warning: no previous prototype for 'show_kernel_relocation' [-Wmissing-prototypes]
415 | void show_kernel_relocation(const char *level)
| ^~~~~~~~~~~~~~~~~~~~~~
vim +/plat_post_relocation +41 arch/mips/kernel/relocate.c
4c9fff362261d6 Marcin Nowakowski 2016-11-23 35
8cc709d7d4f013 Steven J. Hill 2016-12-09 36 /*
8cc709d7d4f013 Steven J. Hill 2016-12-09 37 * This function may be defined for a platform to perform any post-relocation
8cc709d7d4f013 Steven J. Hill 2016-12-09 38 * fixup necessary.
8cc709d7d4f013 Steven J. Hill 2016-12-09 39 * Return non-zero to abort relocation
8cc709d7d4f013 Steven J. Hill 2016-12-09 40 */
8cc709d7d4f013 Steven J. Hill 2016-12-09 @41 int __weak plat_post_relocation(long offset)
8cc709d7d4f013 Steven J. Hill 2016-12-09 42 {
8cc709d7d4f013 Steven J. Hill 2016-12-09 43 return 0;
8cc709d7d4f013 Steven J. Hill 2016-12-09 44 }
8cc709d7d4f013 Steven J. Hill 2016-12-09 45
:::::: The code at line 41 was first introduced by commit
:::::: 8cc709d7d4f013f51d38ceb2e3c8c82d230cf457 MIPS: Relocatable: Provide plat_post_relocation hook
:::::: TO: Steven J. Hill <Steven.Hill@cavium.com>
:::::: CC: Ralf Baechle <ralf@linux-mips.org>
---
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: 44774 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* arch/mips/kernel/relocate.c:41:12: warning: no previous prototype for 'plat_post_relocation'
@ 2021-10-02 7:44 kernel test robot
0 siblings, 0 replies; 5+ messages in thread
From: kernel test robot @ 2021-10-02 7:44 UTC (permalink / raw)
To: Jinyang He; +Cc: kbuild-all, linux-kernel, Thomas Bogendoerfer
[-- Attachment #1: Type: text/plain, Size: 3183 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 02d5e016800d082058b3d3b7c3ede136cdc6ddcb
commit: a307a4ce9ecd2e23c71318201330d9d648b3f818 MIPS: Loongson64: Add KASLR support
date: 10 months ago
config: mips-randconfig-r005-20211002 (attached as .config)
compiler: mips64el-linux-gcc (GCC) 11.2.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=a307a4ce9ecd2e23c71318201330d9d648b3f818
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout a307a4ce9ecd2e23c71318201330d9d648b3f818
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.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/kernel/relocate.c:41:12: warning: no previous prototype for 'plat_post_relocation' [-Wmissing-prototypes]
41 | int __weak plat_post_relocation(long offset)
| ^~~~~~~~~~~~~~~~~~~~
arch/mips/kernel/relocate.c:135:12: warning: no previous prototype for 'do_relocations' [-Wmissing-prototypes]
135 | int __init do_relocations(void *kbase_old, void *kbase_new, long offset)
| ^~~~~~~~~~~~~~
>> arch/mips/kernel/relocate.c:304:14: warning: no previous prototype for 'relocate_kernel' [-Wmissing-prototypes]
304 | void *__init relocate_kernel(void)
| ^~~~~~~~~~~~~~~
arch/mips/kernel/relocate.c:415:6: warning: no previous prototype for 'show_kernel_relocation' [-Wmissing-prototypes]
415 | void show_kernel_relocation(const char *level)
| ^~~~~~~~~~~~~~~~~~~~~~
vim +/plat_post_relocation +41 arch/mips/kernel/relocate.c
4c9fff362261d6 Marcin Nowakowski 2016-11-23 35
8cc709d7d4f013 Steven J. Hill 2016-12-09 36 /*
8cc709d7d4f013 Steven J. Hill 2016-12-09 37 * This function may be defined for a platform to perform any post-relocation
8cc709d7d4f013 Steven J. Hill 2016-12-09 38 * fixup necessary.
8cc709d7d4f013 Steven J. Hill 2016-12-09 39 * Return non-zero to abort relocation
8cc709d7d4f013 Steven J. Hill 2016-12-09 40 */
8cc709d7d4f013 Steven J. Hill 2016-12-09 @41 int __weak plat_post_relocation(long offset)
8cc709d7d4f013 Steven J. Hill 2016-12-09 42 {
8cc709d7d4f013 Steven J. Hill 2016-12-09 43 return 0;
8cc709d7d4f013 Steven J. Hill 2016-12-09 44 }
8cc709d7d4f013 Steven J. Hill 2016-12-09 45
:::::: The code at line 41 was first introduced by commit
:::::: 8cc709d7d4f013f51d38ceb2e3c8c82d230cf457 MIPS: Relocatable: Provide plat_post_relocation hook
:::::: TO: Steven J. Hill <Steven.Hill@cavium.com>
:::::: CC: Ralf Baechle <ralf@linux-mips.org>
---
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: 44778 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-03-25 9:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-16 11:20 arch/mips/kernel/relocate.c:41:12: warning: no previous prototype for 'plat_post_relocation' kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2022-03-25 9:12 kernel test robot
2021-11-18 1:45 kernel test robot
2021-11-10 12:10 kernel test robot
2021-10-02 7:44 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).