All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Otavio Salvador <otavio@ossystems.com.br>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [freescale-fslc:6.6-1.0.x-imx 5708/11728] drivers/media/platform/nxp/dwc-mipi-csi2.c:117:57: error: implicit declaration of function 'FIELD_PREP'
Date: Sun, 28 Apr 2024 11:32:42 +0800	[thread overview]
Message-ID: <202404281115.sCxkwMuW-lkp@intel.com> (raw)

tree:   https://github.com/Freescale/linux-fslc 6.6-1.0.x-imx
head:   37770f55ac9c4f6cd958eb5544939207eed8478f
commit: 082dd12f8b589393f5227c2d64e358da78bd6f35 [5708/11728] LF-10587-05: media: nxp: add DesignWare MIPI CSI controller driver
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20240428/202404281115.sCxkwMuW-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240428/202404281115.sCxkwMuW-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202404281115.sCxkwMuW-lkp@intel.com/

All error/warnings (new ones prefixed by >>):

   drivers/media/platform/nxp/dwc-mipi-csi2.c: In function 'dwc_csi_device_pg_enable':
>> drivers/media/platform/nxp/dwc-mipi-csi2.c:117:57: error: implicit declaration of function 'FIELD_PREP' [-Werror=implicit-function-declaration]
     117 | #define CSI2RX_PPI_PG_PATTERN_HRES_HRES(x)              FIELD_PREP(GENMASK(15, 0), (x))
         |                                                         ^~~~~~~~~~
   drivers/media/platform/nxp/dwc-mipi-csi2.c:550:15: note: in expansion of macro 'CSI2RX_PPI_PG_PATTERN_HRES_HRES'
     550 |         val = CSI2RX_PPI_PG_PATTERN_HRES_HRES(format->width);
         |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/nxp/dwc-mipi-csi2.c: At top level:
>> drivers/media/platform/nxp/dwc-mipi-csi2.c:1395:12: warning: 'dwc_csi_runtime_resume' defined but not used [-Wunused-function]
    1395 | static int dwc_csi_runtime_resume(struct device *dev)
         |            ^~~~~~~~~~~~~~~~~~~~~~
>> drivers/media/platform/nxp/dwc-mipi-csi2.c:1385:12: warning: 'dwc_csi_runtime_suspend' defined but not used [-Wunused-function]
    1385 | static int dwc_csi_runtime_suspend(struct device *dev)
         |            ^~~~~~~~~~~~~~~~~~~~~~~
>> drivers/media/platform/nxp/dwc-mipi-csi2.c:1372:12: warning: 'dwc_csi_system_resume' defined but not used [-Wunused-function]
    1372 | static int dwc_csi_system_resume(struct device *dev)
         |            ^~~~~~~~~~~~~~~~~~~~~
>> drivers/media/platform/nxp/dwc-mipi-csi2.c:1367:12: warning: 'dwc_csi_system_suspend' defined but not used [-Wunused-function]
    1367 | static int dwc_csi_system_suspend(struct device *dev)
         |            ^~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +/FIELD_PREP +117 drivers/media/platform/nxp/dwc-mipi-csi2.c

   114	
   115	/* Pattern Generator horizontal Resolution */
   116	#define CSI2RX_PPI_PG_PATTERN_HRES			0x64
 > 117	#define CSI2RX_PPI_PG_PATTERN_HRES_HRES(x)		FIELD_PREP(GENMASK(15, 0), (x))
   118	

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

                 reply	other threads:[~2024-04-28  3:33 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=202404281115.sCxkwMuW-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=otavio@ossystems.com.br \
    /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.