* [broonie-ci:arm64-gcs 27/40] arch/arm64/kernel/ptrace.c:1472:1: warning: non-void function does not return a value in all control paths
@ 2024-09-30 11:03 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-09-30 11:03 UTC (permalink / raw)
To: Mark Brown; +Cc: llvm, oe-kbuild-all, Thiago Jung Bauermann, Catalin Marinas
tree: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/ci.git arm64-gcs
head: da6c19766d3399121d0f97a5dcf38de9e315ec9b
commit: ef0e2d1b9c3ffcc89d29b948024b0803cc59b53a [27/40] arm64/ptrace: Expose GCS via ptrace and core files
config: arm64-randconfig-001-20240930 (https://download.01.org/0day-ci/archive/20240930/202409301807.bMALFYf7-lkp@intel.com/config)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 7773243d9916f98ba0ffce0c3a960e4aa9f03e81)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240930/202409301807.bMALFYf7-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/202409301807.bMALFYf7-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from arch/arm64/kernel/ptrace.c:11:
In file included from include/linux/audit.h:13:
In file included from include/linux/ptrace.h:10:
In file included from include/linux/pid_namespace.h:7:
In file included from include/linux/mm.h:2223:
include/linux/vmstat.h:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
518 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
>> arch/arm64/kernel/ptrace.c:1472:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
1472 | }
| ^
2 warnings generated.
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for MODVERSIONS
Depends on [n]: MODULES [=y] && !COMPILE_TEST [=y]
Selected by [y]:
- RANDSTRUCT_FULL [=y] && (CC_HAS_RANDSTRUCT [=y] || GCC_PLUGINS [=n]) && MODULES [=y]
vim +1472 arch/arm64/kernel/ptrace.c
1455
1456 static int poe_set(struct task_struct *target, const struct
1457 user_regset *regset, unsigned int pos,
1458 unsigned int count, const void *kbuf, const
1459 void __user *ubuf)
1460 {
1461 int ret;
1462 long ctrl;
1463
1464 if (!system_supports_poe())
1465 return -EINVAL;
1466
1467 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &ctrl, 0, -1);
1468 if (ret)
1469 return ret;
1470
1471 target->thread.por_el0 = ctrl;
> 1472 }
1473 #endif
1474
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-09-30 11:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-30 11:03 [broonie-ci:arm64-gcs 27/40] arch/arm64/kernel/ptrace.c:1472:1: warning: non-void function does not return a value in all control paths 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).