lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202111110440.fQnEv53a-lkp@intel.com>
Date:   Thu, 11 Nov 2021 04:53:18 +0800
From:   kernel test robot <lkp@...el.com>
To:     Geert Uytterhoeven <geert+renesas@...der.be>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Daniel Vetter <daniel.vetter@...ll.ch>
Subject: drivers/gpu/drm/kmb/kmb_plane.c:21:11: sparse: sparse: symbol
 'layer_irqs' was not declared. Should it be static?

Hi Stephen,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   cb690f5238d71f543f4ce874aa59237cf53a877c
commit: ade896460e4a62f5e4a892a98d254937f6f5b64c drm: DRM_KMB_DISPLAY should depend on ARCH_KEEMBAY
date:   1 year ago
config: riscv-randconfig-s032-20211109 (attached as .config)
compiler: riscv32-linux-gcc (GCC) 11.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.4-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ade896460e4a62f5e4a892a98d254937f6f5b64c
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout ade896460e4a62f5e4a892a98d254937f6f5b64c
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=riscv SHELL=/bin/bash arch/riscv/kernel/ drivers/clk/qcom/ drivers/clocksource/ drivers/firmware/arm_scmi/ drivers/firmware/efi/test/ drivers/gpu/drm/kmb/ drivers/mmc/host/ drivers/mtd/nand/onenand/ drivers/mtd/nand/raw/ drivers/pci/endpoint/functions/ drivers/phy/marvell/ drivers/pwm/ drivers/soc/bcm/bcm63xx/ drivers/staging/vc04_services/ drivers/uio/ drivers/usb/gadget/function/ drivers/video/fbdev/ fs/ kernel/ lib/

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


sparse warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/kmb/kmb_plane.c:21:11: sparse: sparse: symbol 'layer_irqs' was not declared. Should it be static?
--
>> drivers/gpu/drm/kmb/kmb_drv.c:102:31: sparse: sparse: incorrect type in return expression (different address spaces) @@     expected void [noderef] __iomem * @@     got void * @@
   drivers/gpu/drm/kmb/kmb_drv.c:102:31: sparse:     expected void [noderef] __iomem *
   drivers/gpu/drm/kmb/kmb_drv.c:102:31: sparse:     got void *

vim +/layer_irqs +21 drivers/gpu/drm/kmb/kmb_plane.c

7f7b96a8a0a185 Anitha Chrisanthus 2020-11-04  20  
7f7b96a8a0a185 Anitha Chrisanthus 2020-11-04 @21  const u32 layer_irqs[] = {
7f7b96a8a0a185 Anitha Chrisanthus 2020-11-04  22  	LCD_INT_VL0,
7f7b96a8a0a185 Anitha Chrisanthus 2020-11-04  23  	LCD_INT_VL1,
7f7b96a8a0a185 Anitha Chrisanthus 2020-11-04  24  	LCD_INT_GL0,
7f7b96a8a0a185 Anitha Chrisanthus 2020-11-04  25  	LCD_INT_GL1
7f7b96a8a0a185 Anitha Chrisanthus 2020-11-04  26  };
7f7b96a8a0a185 Anitha Chrisanthus 2020-11-04  27  

:::::: The code at line 21 was first introduced by commit
:::::: 7f7b96a8a0a185ad8b15ee1cf042f75aa1430c30 drm/kmb: Add support for KeemBay Display

:::::: TO: Anitha Chrisanthus <anitha.chrisanthus@...el.com>
:::::: CC: Sam Ravnborg <sam@...nborg.org>

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

Download attachment ".config.gz" of type "application/gzip" (34086 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ