Bug 212433

Summary: Kernel 5.11.9 WARNING: unmet direct dependencies detected for ADI_AXI_ADC
Product: Other Reporter: Richard Narron (richard)
Component: ConfigurationAssignee: other_configuration (other_configuration)
Status: RESOLVED CODE_FIX    
Severity: normal CC: ardeleanalex, richard
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: Subsystem:
Regression: Yes Bisected commit-id:
Attachments: Slackware: config-huge-5.11.8.x64
Slackware config-huge-5.10.25.x64 for testing kernel 5.10.26-rc3
config-huge-5.13.0-rc4-smp based on Slackware-current 5.12.8-smp

Description Richard Narron 2021-03-25 05:42:45 UTC
Created attachment 296047 [details]
Slackware: config-huge-5.11.8.x64

While building a kernel for Slackware x86_64 5.11.9 using the Slackware 5.11.8 configuration, several warnings were found:

$make oldconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/confdata.o
  HOSTCC  scripts/kconfig/expr.o
  LEX     scripts/kconfig/lexer.lex.c
  HOSTCC  scripts/kconfig/preprocess.o
  YACC    scripts/kconfig/parser.tab.[ch]
  HOSTCC  scripts/kconfig/util.o
  HOSTCC  scripts/kconfig/symbol.o
  HOSTCC  scripts/kconfig/lexer.lex.o
  HOSTCC  scripts/kconfig/parser.tab.o
  HOSTLD  scripts/kconfig/conf

WARNING: unmet direct dependencies detected for ADI_AXI_ADC
  Depends on [n]: IIO [=m] && HAS_IOMEM [=y] && OF [=n]
  Selected by [m]:
  - AD9467 [=m] && IIO [=m] && SPI [=y]

WARNING: unmet direct dependencies detected for ADI_AXI_ADC
  Depends on [n]: IIO [=m] && HAS_IOMEM [=y] && OF [=n]
  Selected by [m]:
  - AD9467 [=m] && IIO [=m] && SPI [=y]
#
# configuration written to .config
#

Slackware in fact changed their configuration for 5.11.9. As a work-around they simply turned off ADI_AXI_ADC and AD9467.

But for testing I am here attaching the old old 5.11.8 configuration file
Comment 1 Alexandru Ardelean 2021-03-25 09:31:09 UTC
Should be fixed by:

https://lkml.org/lkml/2021/3/24/1054
Comment 2 Richard Narron 2021-03-25 13:52:17 UTC
Created attachment 296061 [details]
Slackware config-huge-5.10.25.x64 for testing kernel 5.10.26-rc3

The config-huge-5.10.25.x64 file is for testing kernel 5.10.26-rc3.
Comment 3 Richard Narron 2021-03-25 22:31:13 UTC
  Thanks Alexandru.

  The patch fixes the "make oldconfig" problem for both kernel 5.11.9 and 5.10.26.

  It would be good for someone to fully test the code who actually has an AD9467 though...
Comment 4 Richard Narron 2021-05-31 20:01:39 UTC
Created attachment 297085 [details]
config-huge-5.13.0-rc4-smp based on Slackware-current 5.12.8-smp

Attached config for the bug
Comment 5 Richard Narron 2021-05-31 20:04:42 UTC
Comment on attachment 297085 [details]
config-huge-5.13.0-rc4-smp based on Slackware-current 5.12.8-smp

please ignore the 5.13.0-rc4-smp config...
Comment 6 Richard Narron 2021-05-31 21:02:23 UTC
I used the config-huge-5.11.8.x64 on the last 5.11.22 kernel and
did a make config.config-huge-5.11.8.x64

My bug is gone, but I'm not sure if the AD9467 device is configured...

It is a now obsolete kernel and I am closing this bug report.