* [axboe-block:rw_iter 334/438] arch/arm/common/bL_switcher_dummy_if.c:30:35: error: use of undeclared identifier 'fro'; did you mean 'from'?
@ 2024-05-01 11:48 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-05-01 11:48 UTC (permalink / raw
To: Jens Axboe; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git rw_iter
head: b158fdfcda0d55075803aa1a7cd4eb1bff2f5753
commit: d1c0d7a0f4560be00aae7fdfcc581711f1df7ddb [334/438] arch/arm: convert to read/write iterators
config: arm-randconfig-r061-20240501 (https://download.01.org/0day-ci/archive/20240501/202405011959.KP1taYPo-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240501/202405011959.KP1taYPo-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/202405011959.KP1taYPo-lkp@intel.com/
All errors (new ones prefixed by >>):
>> arch/arm/common/bL_switcher_dummy_if.c:30:35: error: use of undeclared identifier 'fro'; did you mean 'from'?
if (!copy_from_iter_full(val, 3, fro))
^~~
from
arch/arm/common/bL_switcher_dummy_if.c:18:71: note: 'from' declared here
static ssize_t bL_switcher_write(struct kiocb *iocb, struct iov_iter *from)
^
1 error generated.
vim +30 arch/arm/common/bL_switcher_dummy_if.c
17
18 static ssize_t bL_switcher_write(struct kiocb *iocb, struct iov_iter *from)
19 {
20 size_t len = iov_iter_count(from);
21 unsigned char val[3];
22 unsigned int cpu, cluster;
23 int ret;
24
25 pr_debug("%s\n", __func__);
26
27 if (len < 3)
28 return -EINVAL;
29
> 30 if (!copy_from_iter_full(val, 3, fro))
31 return -EFAULT;
32
33 /* format: <cpu#>,<cluster#> */
34 if (val[0] < '0' || val[0] > '9' ||
35 val[1] != ',' ||
36 val[2] < '0' || val[2] > '1')
37 return -EINVAL;
38
39 cpu = val[0] - '0';
40 cluster = val[2] - '0';
41 ret = bL_switch_request(cpu, cluster);
42
43 return ret ? : len;
44 }
45
--
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-05-01 11:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-01 11:48 [axboe-block:rw_iter 334/438] arch/arm/common/bL_switcher_dummy_if.c:30:35: error: use of undeclared identifier 'fro'; did you mean 'from'? 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 read-only IMAP folder(s) and NNTP newsgroup(s).