Re: [linux-next:master 995/2428] kismet: WARNING: unmet direct dependencies detected for GPIO_SYSCON when selected by GPIO_SAMA5D2_PIOBU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




在 2023/3/9 下午2:44, kernel test robot 写道:
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   2c6433e9294b6d0f4d8f08c3c70a3eac434d3ec8
commit: 7944d3b7fe86067509751473aa917fdfd662d92c [995/2428] gpio: loongson: add gpio driver support
config: x86_64-kismet-CONFIG_GPIO_SYSCON-CONFIG_GPIO_SAMA5D2_PIOBU-0-0 (https://download.01.org/0day-ci/archive/20230309/202303091430.hbWEMt4b-lkp@xxxxxxxxx/config)
reproduce:
         # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=7944d3b7fe86067509751473aa917fdfd662d92c
         git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
         git fetch --no-tags linux-next master
         git checkout 7944d3b7fe86067509751473aa917fdfd662d92c
         # 1. reproduce by kismet
            # install kmax per https://github.com/paulgazz/kmax/blob/master/README.md
            kismet --linux-ksrc=linux --selectees CONFIG_GPIO_SYSCON --selectors CONFIG_GPIO_SAMA5D2_PIOBU -a=x86_64
         # 2. reproduce by make
            # save the config file to linux source tree
            cd linux
            make ARCH=x86_64 olddefconfig

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Link: https://lore.kernel.org/oe-kbuild-all/202303091430.hbWEMt4b-lkp@xxxxxxxxx/

kismet warnings: (new ones prefixed by >>)
kismet: WARNING: unmet direct dependencies detected for GPIO_SYSCON when selected by GPIO_SAMA5D2_PIOBU
    .config:5169:warning: symbol value 'ONFIG_ARCH_MMAP_RND_BITS_MI' invalid for ARCH_MMAP_RND_BITS
    .config:12935:warning: symbol value 'ONFIG_NR_CPUS_DEFAUL' invalid for NR_CPUS
WARNING: unmet direct dependencies detected for OF_GPIO
      Depends on [n]: GPIOLIB [=y] && OF [=n] && HAS_IOMEM [=y]
      Selected by [y]:
      - GPIO_LOONGSON_64BIT [=y] && GPIOLIB [=y] && HAS_IOMEM [=y] && (LOONGARCH || COMPILE_TEST [=y])

This warning  is "unmet direct dependencies detected for OF_GPIO ",  it should be GPIO_LOONGSON_64BIT not depend  OF_GPIO  rather than select OF_GPIO,

I will add a depend on "OF_GPIO" replace select "OF_GPIO"  for loongson gpio driver to fix this warning.

WARNING: unmet direct dependencies detected for GPIO_SYSCON
      Depends on [n]: GPIOLIB [=y] && HAS_IOMEM [=y] && MFD_SYSCON [=y] && OF [=n]
      Selected by [y]:
      - GPIO_SAMA5D2_PIOBU [=y] && GPIOLIB [=y] && HAS_IOMEM [=y] && MFD_SYSCON [=y] && OF_GPIO [=y] && (ARCH_AT91 || COMPILE_TEST [=y])






[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux