mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Daniel Vetter <daniel.vetter@ffwll.ch>
Subject: drivers/gpu/drm/kmb/kmb_plane.c:21:11: sparse: sparse: symbol 'layer_irqs' was not declared. Should it be static?
Date: Thu, 11 Nov 2021 04:53:18 +0800	[thread overview]
Message-ID: <202111110440.fQnEv53a-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 3090 bytes --]

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@intel.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@intel.com>
:::::: CC: Sam Ravnborg <sam@ravnborg.org>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34086 bytes --]

                 reply	other threads:[~2021-11-10 20:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202111110440.fQnEv53a-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=daniel.vetter@ffwll.ch \
    --cc=geert+renesas@glider.be \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome