public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel•com>
To: Laurentiu Palcu <laurentiu.palcu@nxp•com>
Cc: Laurentiu Palcu <laurentiu.palcu@nxp•com>,
	Philipp Zabel <p.zabel@pengutronix•de>,
	Shawn Guo <shawnguo@kernel•org>,
	Sascha Hauer <s.hauer@pengutronix•de>,
	linux-kernel@vger•kernel.org, dri-devel@lists•freedesktop.org,
	kbuild-all@01•org,
	Pengutronix Kernel Team <kernel@pengutronix•de>,
	l.stach@pengutronix•de, Fabio Estevam <festevam@gmail•com>,
	agx@sigxcpu•org, linux-arm-kernel@lists•infradead.org,
	NXP Linux Team <linux-imx@nxp•com>
Subject: Re: [PATCH 3/5] drm/imx: Add initial support for DCSS on iMX8MQ
Date: Tue, 24 Sep 2019 00:24:38 +0800	[thread overview]
Message-ID: <201909240057.ImIOgwqi%lkp@intel.com> (raw)
In-Reply-To: <1569248002-2485-4-git-send-email-laurentiu.palcu@nxp.com>

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

Hi Laurentiu,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[cannot apply to v5.3 next-20190920]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Laurentiu-Palcu/Add-support-for-iMX8MQ-Display-Controller-Subsystem/20190923-230115
config: c6x-allyesconfig (attached as .config)
compiler: c6x-elf-gcc (GCC) 7.4.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=c6x 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel•com>

All errors (new ones prefixed by >>):

   drivers/gpu/drm/imx/dcss/dcss-blkctl.c: In function 'dcss_blkctl_init':
>> drivers/gpu/drm/imx/dcss/dcss-blkctl.c:50:58: error: 'SZ_4K' undeclared (first use in this function)
     blkctl->base_reg = devm_ioremap(dcss->dev, blkctl_base, SZ_4K);
                                                             ^~~~~
   drivers/gpu/drm/imx/dcss/dcss-blkctl.c:50:58: note: each undeclared identifier is reported only once for each function it appears in
--
   drivers/gpu/drm/imx/dcss/dcss-dtg.c: In function 'dcss_dtg_init':
>> drivers/gpu/drm/imx/dcss/dcss-dtg.c:174:52: error: 'SZ_4K' undeclared (first use in this function)
     dtg->base_reg = devm_ioremap(dcss->dev, dtg_base, SZ_4K);
                                                       ^~~~~
   drivers/gpu/drm/imx/dcss/dcss-dtg.c:174:52: note: each undeclared identifier is reported only once for each function it appears in
--
   drivers/gpu/drm/imx/dcss/dcss-ss.c: In function 'dcss_ss_init':
>> drivers/gpu/drm/imx/dcss/dcss-ss.c:93:50: error: 'SZ_4K' undeclared (first use in this function)
     ss->base_reg = devm_ioremap(dcss->dev, ss_base, SZ_4K);
                                                     ^~~~~
   drivers/gpu/drm/imx/dcss/dcss-ss.c:93:50: note: each undeclared identifier is reported only once for each function it appears in
--
   drivers/gpu/drm/imx/dcss/dcss-dpr.c: In function 'dcss_dpr_ch_init_all':
>> drivers/gpu/drm/imx/dcss/dcss-dpr.c:125:55: error: 'SZ_4K' undeclared (first use in this function)
      ch->base_reg = devm_ioremap(dpr->dev, ch->base_ofs, SZ_4K);
                                                          ^~~~~
   drivers/gpu/drm/imx/dcss/dcss-dpr.c:125:55: note: each undeclared identifier is reported only once for each function it appears in
--
   drivers/gpu/drm/imx/dcss/dcss-scaler.c: In function 'dcss_scaler_ch_init_all':
>> drivers/gpu/drm/imx/dcss/dcss-scaler.c:287:55: error: 'SZ_4K' undeclared (first use in this function)
      ch->base_reg = devm_ioremap(scl->dev, ch->base_ofs, SZ_4K);
                                                          ^~~~~
   drivers/gpu/drm/imx/dcss/dcss-scaler.c:287:55: note: each undeclared identifier is reported only once for each function it appears in

vim +/SZ_4K +50 drivers/gpu/drm/imx/dcss/dcss-blkctl.c

    41	
    42	int dcss_blkctl_init(struct dcss_dev *dcss, unsigned long blkctl_base)
    43	{
    44		struct dcss_blkctl *blkctl;
    45	
    46		blkctl = devm_kzalloc(dcss->dev, sizeof(*blkctl), GFP_KERNEL);
    47		if (!blkctl)
    48			return -ENOMEM;
    49	
  > 50		blkctl->base_reg = devm_ioremap(dcss->dev, blkctl_base, SZ_4K);
    51		if (!blkctl->base_reg) {
    52			dev_err(dcss->dev, "unable to remap BLK CTRL base\n");
    53			devm_kfree(dcss->dev, blkctl);
    54			return -ENOMEM;
    55		}
    56	
    57		dcss->blkctl = blkctl;
    58		blkctl->dev = dcss->dev;
    59		blkctl->hdmi_output = dcss->hdmi_output;
    60	
    61		dcss_blkctl_cfg(blkctl);
    62	
    63		return 0;
    64	}
    65	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

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

[-- Attachment #3: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists•infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

           reply	other threads:[~2019-09-23 16:25 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <1569248002-2485-4-git-send-email-laurentiu.palcu@nxp.com>]

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=201909240057.ImIOgwqi%lkp@intel.com \
    --to=lkp@intel$(echo .)com \
    --cc=agx@sigxcpu$(echo .)org \
    --cc=dri-devel@lists$(echo .)freedesktop.org \
    --cc=festevam@gmail$(echo .)com \
    --cc=kbuild-all@01$(echo .)org \
    --cc=kernel@pengutronix$(echo .)de \
    --cc=l.stach@pengutronix$(echo .)de \
    --cc=laurentiu.palcu@nxp$(echo .)com \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    --cc=linux-imx@nxp$(echo .)com \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=p.zabel@pengutronix$(echo .)de \
    --cc=s.hauer@pengutronix$(echo .)de \
    --cc=shawnguo@kernel$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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