All of lore.kernel.org
 help / color / mirror / Atom feed
* [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'
@ 2024-04-28  3:32 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-04-28  3:32 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: oe-kbuild-all

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-28  3:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-28  3:32 [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' kernel test robot

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.