On Fri, Apr 2, 2021 at 8:48 AM kernel test robot <
lkp@intel.com> wrote:
tree: https://github.com/jimc/linux.git lkp-test/drm-dd
head: 631cbfbef77d556648bcef9f7d77beef4d2c8574
commit: f3e32c5e7ddb7d259eccbfe8cdf635a198df7a71 [2/3] drm: RFC switch drm.debug to use dynamic debug
config: parisc-randconfig-r025-20210402 (attached as .config)
compiler: hppa-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/jimc/linux/commit/f3e32c5e7ddb7d259eccbfe8cdf635a198df7a71
git remote add jimc https://github.com/jimc/linux.git
git fetch --no-tags jimc lkp-test/drm-dd
git checkout f3e32c5e7ddb7d259eccbfe8cdf635a198df7a71
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=parisc
I have reproduced this.
So I compared the before/after on intermediate files
sdiff -lw300 drivers/gpu/drm/drm_print.i \
../../../wk-test/builds/parisc-1/drivers/gpu/drm/drm_print.i | less +/static_branch
and the obvious thing is the header include is much earlier in the broken version.
so I moved the include down and out to drm_print.h
this fixed the immediate problem, so I'm rerolling
for another run through lkp-test
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>