* arch/mips/kernel/setup.c:459 early_parse_elfcorehdr() warn: inconsistent indenting
@ 2020-06-30 19:12 ` kernel test robot
0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2020-06-30 19:12 UTC (permalink / raw)
To: Jiaxun Yang; +Cc: kbuild-all, linux-kernel, Paul Burton
[-- Attachment #1: Type: text/plain, Size: 1685 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7c30b859a947535f2213277e827d7ac7dcff9c84
commit: a94e4f24ec836c8984f839594bad7454184975b1 MIPS: init: Drop boot_mem_map
date: 10 months ago
config: mips-randconfig-m031-20200630 (attached as .config)
compiler: mipsel-linux-gcc (GCC) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
smatch warnings:
arch/mips/kernel/setup.c:459 early_parse_elfcorehdr() warn: inconsistent indenting
vim +459 arch/mips/kernel/setup.c
450
451 #ifdef CONFIG_PROC_VMCORE
452 unsigned long setup_elfcorehdr, setup_elfcorehdr_size;
453 static int __init early_parse_elfcorehdr(char *p)
454 {
455 struct memblock_region *mem;
456
457 setup_elfcorehdr = memparse(p, &p);
458
> 459 for_each_memblock(memory, mem) {
460 unsigned long start = mem->base;
461 unsigned long end = mem->end;
462 if (setup_elfcorehdr >= start && setup_elfcorehdr < end) {
463 /*
464 * Reserve from the elf core header to the end of
465 * the memory segment, that should all be kdump
466 * reserved memory.
467 */
468 setup_elfcorehdr_size = end - setup_elfcorehdr;
469 break;
470 }
471 }
472 /*
473 * If we don't find it in the memory map, then we shouldn't
474 * have to worry about it, as the new kernel won't use it.
475 */
476 return 0;
477 }
478 early_param("elfcorehdr", early_parse_elfcorehdr);
479 #endif
480
---
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: 30956 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* arch/mips/kernel/setup.c:459 early_parse_elfcorehdr() warn: inconsistent indenting
@ 2020-06-30 19:12 ` kernel test robot
0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2020-06-30 19:12 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 1735 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7c30b859a947535f2213277e827d7ac7dcff9c84
commit: a94e4f24ec836c8984f839594bad7454184975b1 MIPS: init: Drop boot_mem_map
date: 10 months ago
config: mips-randconfig-m031-20200630 (attached as .config)
compiler: mipsel-linux-gcc (GCC) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
smatch warnings:
arch/mips/kernel/setup.c:459 early_parse_elfcorehdr() warn: inconsistent indenting
vim +459 arch/mips/kernel/setup.c
450
451 #ifdef CONFIG_PROC_VMCORE
452 unsigned long setup_elfcorehdr, setup_elfcorehdr_size;
453 static int __init early_parse_elfcorehdr(char *p)
454 {
455 struct memblock_region *mem;
456
457 setup_elfcorehdr = memparse(p, &p);
458
> 459 for_each_memblock(memory, mem) {
460 unsigned long start = mem->base;
461 unsigned long end = mem->end;
462 if (setup_elfcorehdr >= start && setup_elfcorehdr < end) {
463 /*
464 * Reserve from the elf core header to the end of
465 * the memory segment, that should all be kdump
466 * reserved memory.
467 */
468 setup_elfcorehdr_size = end - setup_elfcorehdr;
469 break;
470 }
471 }
472 /*
473 * If we don't find it in the memory map, then we shouldn't
474 * have to worry about it, as the new kernel won't use it.
475 */
476 return 0;
477 }
478 early_param("elfcorehdr", early_parse_elfcorehdr);
479 #endif
480
---
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: 30956 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* arch/mips/kernel/setup.c:459 early_parse_elfcorehdr() warn: inconsistent indenting
@ 2020-08-05 3:04 ` kernel test robot
0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2020-08-05 3:04 UTC (permalink / raw)
To: Jiaxun Yang; +Cc: kbuild-all, linux-kernel, Paul Burton
[-- Attachment #1: Type: text/plain, Size: 1683 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 442489c219235991de86d0277b5d859ede6d8792
commit: a94e4f24ec836c8984f839594bad7454184975b1 MIPS: init: Drop boot_mem_map
date: 12 months ago
config: mips-randconfig-m031-20200805 (attached as .config)
compiler: mips-linux-gcc (GCC) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
smatch warnings:
arch/mips/kernel/setup.c:459 early_parse_elfcorehdr() warn: inconsistent indenting
vim +459 arch/mips/kernel/setup.c
450
451 #ifdef CONFIG_PROC_VMCORE
452 unsigned long setup_elfcorehdr, setup_elfcorehdr_size;
453 static int __init early_parse_elfcorehdr(char *p)
454 {
455 struct memblock_region *mem;
456
457 setup_elfcorehdr = memparse(p, &p);
458
> 459 for_each_memblock(memory, mem) {
460 unsigned long start = mem->base;
461 unsigned long end = mem->end;
462 if (setup_elfcorehdr >= start && setup_elfcorehdr < end) {
463 /*
464 * Reserve from the elf core header to the end of
465 * the memory segment, that should all be kdump
466 * reserved memory.
467 */
468 setup_elfcorehdr_size = end - setup_elfcorehdr;
469 break;
470 }
471 }
472 /*
473 * If we don't find it in the memory map, then we shouldn't
474 * have to worry about it, as the new kernel won't use it.
475 */
476 return 0;
477 }
478 early_param("elfcorehdr", early_parse_elfcorehdr);
479 #endif
480
---
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: 23654 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* arch/mips/kernel/setup.c:459 early_parse_elfcorehdr() warn: inconsistent indenting
@ 2020-08-05 3:04 ` kernel test robot
0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2020-08-05 3:04 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 1733 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 442489c219235991de86d0277b5d859ede6d8792
commit: a94e4f24ec836c8984f839594bad7454184975b1 MIPS: init: Drop boot_mem_map
date: 12 months ago
config: mips-randconfig-m031-20200805 (attached as .config)
compiler: mips-linux-gcc (GCC) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
smatch warnings:
arch/mips/kernel/setup.c:459 early_parse_elfcorehdr() warn: inconsistent indenting
vim +459 arch/mips/kernel/setup.c
450
451 #ifdef CONFIG_PROC_VMCORE
452 unsigned long setup_elfcorehdr, setup_elfcorehdr_size;
453 static int __init early_parse_elfcorehdr(char *p)
454 {
455 struct memblock_region *mem;
456
457 setup_elfcorehdr = memparse(p, &p);
458
> 459 for_each_memblock(memory, mem) {
460 unsigned long start = mem->base;
461 unsigned long end = mem->end;
462 if (setup_elfcorehdr >= start && setup_elfcorehdr < end) {
463 /*
464 * Reserve from the elf core header to the end of
465 * the memory segment, that should all be kdump
466 * reserved memory.
467 */
468 setup_elfcorehdr_size = end - setup_elfcorehdr;
469 break;
470 }
471 }
472 /*
473 * If we don't find it in the memory map, then we shouldn't
474 * have to worry about it, as the new kernel won't use it.
475 */
476 return 0;
477 }
478 early_param("elfcorehdr", early_parse_elfcorehdr);
479 #endif
480
---
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: 23654 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-08-05 3:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-30 19:12 arch/mips/kernel/setup.c:459 early_parse_elfcorehdr() warn: inconsistent indenting kernel test robot
2020-06-30 19:12 ` kernel test robot
2020-08-05 3:04 kernel test robot
2020-08-05 3:04 ` kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.