All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [zen-kernel-zen-kernel:5.10/clearlinux 9/25] lib/raid6/algos.c:138:3: error: #error "TODO"
Date: Wed, 16 Dec 2020 07:01:26 +0800	[thread overview]
Message-ID: <202012160723.JrBc87KQ-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 3660 bytes --]

tree:   https://github.com/zen-kernel/zen-kernel 5.10/clearlinux
head:   f913bdc4bdb24521c1309755d426d7bac427ad2f
commit: f32b62caf790b6f63e5b447108b90febb9c009eb [9/25] raid6: add Kconfig option to skip raid6 benchmarking
config: m68k-allmodconfig (attached as .config)
compiler: m68k-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://github.com/zen-kernel/zen-kernel/commit/f32b62caf790b6f63e5b447108b90febb9c009eb
        git remote add zen-kernel-zen-kernel https://github.com/zen-kernel/zen-kernel
        git fetch --no-tags zen-kernel-zen-kernel 5.10/clearlinux
        git checkout f32b62caf790b6f63e5b447108b90febb9c009eb
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=m68k 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for NEED_MULTIPLE_NODES
Depends on DISCONTIGMEM || NUMA
Selected by
- SINGLE_MEMORY_CHUNK && MMU

   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/rculist.h:10,
                    from include/linux/pid.h:5,
                    from include/linux/sched.h:14,
                    from include/linux/blkdev.h:5,
                    from include/linux/raid/pq.h:15,
                    from lib/raid6/algos.c:14:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_mm.h:169:49: warning: ordered comparison of pointer with null pointer [-Wextra]
     169 | #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory)
         |                                                 ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   lib/raid6/algos.c: In function 'raid6_select_algo':
>> lib/raid6/algos.c:138:3: error: #error "TODO"
     138 | # error "TODO"
         |   ^~~~~
   lib/raid6/algos.c:130:28: warning: unused variable 'gen_fallback' [-Wunused-variable]
     130 |  const struct raid6_calls *gen_fallback;
         |                            ^~~~~~~~~~~~

vim +/TODO +138 lib/raid6/algos.c

   123	
   124	#ifdef CONFIG_RAID6_FORCE_ALGO
   125	/* TODO don't compile in algos that will never be used */
   126	int __init raid6_select_algo(void)
   127	{
   128		const struct raid6_recov_calls *recov_fallback = &raid6_recov_intx1;
   129		const struct raid6_recov_calls *recov_algo;
   130		const struct raid6_calls *gen_fallback;
   131		const struct raid6_calls *gen_algo;
   132	
   133	#if defined(__i386__)
   134		gen_fallback = &raid6_intx32;
   135	#elif defined(__x86_64__)
   136		gen_fallback = &raid6_sse2x2;
   137	#else
 > 138	# error "TODO"
   139	#endif
   140	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 58964 bytes --]

                 reply	other threads:[~2020-12-15 23:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202012160723.JrBc87KQ-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.