tree: https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git for-next head: 02e71d9bee03399bac6869d9afba8665650ad20a commit: 1e754b11d1c0c22516822481ba26592d5fb1ef9a [10/11] dm: improve kcopyd latency config: sh-allmodconfig (attached as .config) compiler: sh4-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/device-mapper/linux-dm.git/commit/?id=1e754b11d1c0c22516822481ba26592d5fb1ef9a git remote add dm https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git git fetch --no-tags dm for-next git checkout 1e754b11d1c0c22516822481ba26592d5fb1ef9a # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sh If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): drivers/md/dm-kcopyd.c: In function 'complete_io': >> drivers/md/dm-kcopyd.c:538:42: error: passing argument 2 of 'test_bit' from incompatible pointer type [-Werror=incompatible-pointer-types] 538 | if (test_bit(DM_KCOPYD_EARLY_CALLBACK, &job->flags)) { | ^~~~~~~~~~~ | | | unsigned int * In file included from arch/sh/include/asm/bitops.h:24, from include/linux/bitops.h:32, from include/linux/kernel.h:12, from include/asm-generic/bug.h:20, from arch/sh/include/asm/bug.h:112, from include/linux/bug.h:5, from include/linux/thread_info.h:12, from include/asm-generic/current.h:5, from ./arch/sh/include/generated/asm/current.h:1, from include/linux/sched.h:12, from include/linux/blkdev.h:5, from drivers/md/dm-kcopyd.c:14: include/asm-generic/bitops/non-atomic.h:104:66: note: expected 'const volatile long unsigned int *' but argument is of type 'unsigned int *' 104 | static inline int test_bit(int nr, const volatile unsigned long *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ cc1: some warnings being treated as errors Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for SND_ATMEL_SOC_PDC Depends on SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC && HAS_DMA Selected by - SND_ATMEL_SOC_SSC && SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC - SND_ATMEL_SOC_SSC_PDC && SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC && ATMEL_SSC vim +/test_bit +538 drivers/md/dm-kcopyd.c 516 517 static void complete_io(unsigned long error, void *context) 518 { 519 struct kcopyd_job *job = (struct kcopyd_job *) context; 520 struct dm_kcopyd_client *kc = job->kc; 521 522 io_job_finish(kc->throttle); 523 524 if (error) { 525 if (op_is_write(job->rw)) 526 job->write_err |= error; 527 else 528 job->read_err = 1; 529 530 if (!(job->flags & BIT(DM_KCOPYD_IGNORE_ERROR))) { 531 push(&kc->complete_jobs, job); 532 wake(kc); 533 return; 534 } 535 } 536 537 if (op_is_write(job->rw)) { > 538 if (test_bit(DM_KCOPYD_EARLY_CALLBACK, &job->flags)) { 539 job->fn(job->read_err, job->write_err, job->context); 540 job->fn = null_completion; 541 } 542 push(&kc->complete_jobs, job); 543 } else { 544 job->rw = WRITE; 545 push(&kc->io_jobs, job); 546 } 547 548 wake(kc); 549 } 550 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip
-- dm-devel mailing list dm-devel@xxxxxxxxxx https://listman.redhat.com/mailman/listinfo/dm-devel