All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH v5 2/5] media: nxp: Add i.MX8 ISI driver
Date: Sun, 16 Apr 2023 01:30:33 +0800	[thread overview]
Message-ID: <202304160140.3OUrz2Ti-lkp@intel.com> (raw)
In-Reply-To: <20230415155630.7492-3-laurent.pinchart@ideasonboard.com>

Hi Laurent,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 7e364e56293bb98cae1b55fd835f5991c4e96e7d]

url:    https://github.com/intel-lab-lkp/linux/commits/Laurent-Pinchart/dt-bindings-media-Add-i-MX8-ISI-DT-bindings/20230415-235823
base:   7e364e56293bb98cae1b55fd835f5991c4e96e7d
patch link:    https://lore.kernel.org/r/20230415155630.7492-3-laurent.pinchart%40ideasonboard.com
patch subject: [PATCH v5 2/5] media: nxp: Add i.MX8 ISI driver
config: mips-allyesconfig (https://download.01.org/0day-ci/archive/20230416/202304160140.3OUrz2Ti-lkp@intel.com/config)
compiler: mips-linux-gcc (GCC) 12.1.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/intel-lab-lkp/linux/commit/ea03ad7f3cb123ad6af86010bd0fc7db683e45b8
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Laurent-Pinchart/dt-bindings-media-Add-i-MX8-ISI-DT-bindings/20230415-235823
        git checkout ea03ad7f3cb123ad6af86010bd0fc7db683e45b8
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=mips olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash drivers/media/platform/nxp/imx8-isi/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202304160140.3OUrz2Ti-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c: In function 'mxc_isi_channel_set_inbuf':
>> drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c:33:5: warning: "CONFIG_ARCH_DMA_ADDR_T_64BIT" is not defined, evaluates to 0 [-Wundef]
      33 | #if CONFIG_ARCH_DMA_ADDR_T_64BIT
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c: In function 'mxc_isi_channel_set_outbuf':
   drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c:51:5: warning: "CONFIG_ARCH_DMA_ADDR_T_64BIT" is not defined, evaluates to 0 [-Wundef]
      51 | #if CONFIG_ARCH_DMA_ADDR_T_64BIT
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c:66:5: warning: "CONFIG_ARCH_DMA_ADDR_T_64BIT" is not defined, evaluates to 0 [-Wundef]
      66 | #if CONFIG_ARCH_DMA_ADDR_T_64BIT
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/CONFIG_ARCH_DMA_ADDR_T_64BIT +33 drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c

    25	
    26	/* -----------------------------------------------------------------------------
    27	 * Buffers & M2M operation
    28	 */
    29	
    30	void mxc_isi_channel_set_inbuf(struct mxc_isi_pipe *pipe, dma_addr_t dma_addr)
    31	{
    32		mxc_isi_write(pipe, CHNL_IN_BUF_ADDR, dma_addr);
  > 33	#if CONFIG_ARCH_DMA_ADDR_T_64BIT
    34		if (pipe->isi->pdata->has_36bit_dma)
    35			mxc_isi_write(pipe, CHNL_IN_BUF_XTND_ADDR, dma_addr >> 32);
    36	#endif
    37	}
    38	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests

  reply	other threads:[~2023-04-15 17:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-15 15:56 [PATCH v5 0/5] media: nxp: i.MX8 ISI driver Laurent Pinchart
2023-04-15 15:56 ` [PATCH v5 1/5] dt-bindings: media: Add i.MX8 ISI DT bindings Laurent Pinchart
2023-04-15 15:56 ` [PATCH v5 2/5] media: nxp: Add i.MX8 ISI driver Laurent Pinchart
2023-04-15 17:30   ` kernel test robot [this message]
2023-04-15 15:56 ` [PATCH v5 3/5] media: nxp: imx8-isi: Drop partial support for i.MX8QM and i.MX8QXP Laurent Pinchart
2023-04-15 15:56 ` [PATCH v5 4/5] media: nxp: imx8-isi: Replace udelay() with fsleep() Laurent Pinchart
2023-04-15 15:56 ` [PATCH v5 5/5] media: nxp: imx8-isi: Remove 300ms sleep after enabling channel Laurent Pinchart

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=202304160140.3OUrz2Ti-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.