kernelci / kernelci/kernelci-pipeline

Add static analysis for defconfigs

Open
#949 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
11
Forks
40
Avg merge
2d 13h
Merged PRs (30d)
14

Description

It would be desirable for kernelci to do static analysis on the defconfigs, for example if a config option is removed:

https://github.com/torvalds/linux/commit/802b83205519e4253b873bef5c095b147cd69dad

but users of it remain:

https://github.com/torvalds/linux/blob/231825b2e1ff6ba799c5eaf396d3ab2354e37c6b/arch/arm64/configs/defconfig#L1355

then that should be raised in CI.

In the Yocto Project we have a tool which does this: https://git.yoctoproject.org/yocto-kernel-tools/tree/tools/symbol_why.py and we'd be happy to help because our kernel builds fail due to issues like this.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the Yocto Project tool tools/symbol_why.py and the linked Linux commit and defconfig entry to understand the stale-config case. Then determine how kernelci-pipeline CI should run this analysis; done means references to removed config options in defconfigs are reported in CI.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ci-cd, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.