linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
Cc: kbuild-all@lists.01.org,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: [linux-next:master 6949/9472] drivers/gpu/drm/xlnx/zynqmp_dp.c:335:9: error: implicit declaration of function 'writel'
Date: Tue, 12 Jul 2022 15:04:08 +0800	[thread overview]
Message-ID: <202207121410.tRazSVci-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   4112a8699ae2eac797415b9be1d7901b3f79e772
commit: 73289afe03619bac585b69f563d0bb9a52e67722 [6949/9472] drm: Remove linux/fb.h from drm_crtc.h
config: sparc-allyesconfig (https://download.01.org/0day-ci/archive/20220712/202207121410.tRazSVci-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 11.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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=73289afe03619bac585b69f563d0bb9a52e67722
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 73289afe03619bac585b69f563d0bb9a52e67722
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=sparc SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

Note: the linux-next/master HEAD 4112a8699ae2eac797415b9be1d7901b3f79e772 builds fine.
      It may have been fixed somewhere.

All errors (new ones prefixed by >>):

   drivers/gpu/drm/xlnx/zynqmp_dp.c: In function 'zynqmp_dp_write':
>> drivers/gpu/drm/xlnx/zynqmp_dp.c:335:9: error: implicit declaration of function 'writel' [-Werror=implicit-function-declaration]
     335 |         writel(val, dp->iomem + offset);
         |         ^~~~~~
   drivers/gpu/drm/xlnx/zynqmp_dp.c: In function 'zynqmp_dp_read':
>> drivers/gpu/drm/xlnx/zynqmp_dp.c:340:16: error: implicit declaration of function 'readl' [-Werror=implicit-function-declaration]
     340 |         return readl(dp->iomem + offset);
         |                ^~~~~
   cc1: some warnings being treated as errors


vim +/writel +335 drivers/gpu/drm/xlnx/zynqmp_dp.c

d76271d22694e8 Hyun Kwon 2018-07-07  332  
d76271d22694e8 Hyun Kwon 2018-07-07  333  static void zynqmp_dp_write(struct zynqmp_dp *dp, int offset, u32 val)
d76271d22694e8 Hyun Kwon 2018-07-07  334  {
d76271d22694e8 Hyun Kwon 2018-07-07 @335  	writel(val, dp->iomem + offset);
d76271d22694e8 Hyun Kwon 2018-07-07  336  }
d76271d22694e8 Hyun Kwon 2018-07-07  337  
d76271d22694e8 Hyun Kwon 2018-07-07  338  static u32 zynqmp_dp_read(struct zynqmp_dp *dp, int offset)
d76271d22694e8 Hyun Kwon 2018-07-07  339  {
d76271d22694e8 Hyun Kwon 2018-07-07 @340  	return readl(dp->iomem + offset);
d76271d22694e8 Hyun Kwon 2018-07-07  341  }
d76271d22694e8 Hyun Kwon 2018-07-07  342  

:::::: The code at line 335 was first introduced by commit
:::::: d76271d22694e874ed70791702db9252ffe96a4c drm: xlnx: DRM/KMS driver for Xilinx ZynqMP DisplayPort Subsystem

:::::: TO: Hyun Kwon <hyun.kwon@xilinx.com>
:::::: CC: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp


                 reply	other threads:[~2022-07-12  7:05 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=202207121410.tRazSVci-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-mm@kvack.org \
    --cc=ville.syrjala@linux.intel.com \
    /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