All of lore.kernel.org
 help / color / mirror / Atom feed
* [freescale-fslc:6.6-2.0.x-imx 5783/16788] drivers/media/platform/mxc/capture/mxc_mipi_csi.c:294: warning: Function parameter or member 'v4l2_dev' not described in 'csi_state'
@ 2024-09-30 13:57 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-09-30 13:57 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: oe-kbuild-all

Hi Dong,

First bad commit (maybe != root cause):

tree:   https://github.com/Freescale/linux-fslc 6.6-2.0.x-imx
head:   ac32ba5fe66266329914d2020570364afe217bec
commit: 980c9b12d176da5063b63180f6d4af6ae4ed72f9 [5783/16788] Merge remote-tracking branch 'origin/capture/mxc' into capture/next
config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20240930/202409302153.mpa32Ir5-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240930/202409302153.mpa32Ir5-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/202409302153.mpa32Ir5-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/media/platform/mxc/capture/mxc_mipi_csi.c: In function 'mipi_csis_probe':
>> drivers/media/platform/mxc/capture/mxc_mipi_csi.c:1073:29: warning: variable 'mipi_sd' set but not used [-Wunused-but-set-variable]
    1073 |         struct v4l2_subdev *mipi_sd;
         |                             ^~~~~~~
--
>> drivers/media/platform/mxc/capture/mxc_mipi_csi.c:294: warning: Function parameter or member 'dev' not described in 'csi_state'
>> drivers/media/platform/mxc/capture/mxc_mipi_csi.c:294: warning: Function parameter or member 'mipi_sd' not described in 'csi_state'
>> drivers/media/platform/mxc/capture/mxc_mipi_csi.c:294: warning: Function parameter or member 'sensor_sd' not described in 'csi_state'
>> drivers/media/platform/mxc/capture/mxc_mipi_csi.c:294: warning: Function parameter or member 'v4l2_dev' not described in 'csi_state'
>> drivers/media/platform/mxc/capture/mxc_mipi_csi.c:294: warning: Function parameter or member 'mipi_clk' not described in 'csi_state'
>> drivers/media/platform/mxc/capture/mxc_mipi_csi.c:294: warning: Function parameter or member 'phy_clk' not described in 'csi_state'
>> drivers/media/platform/mxc/capture/mxc_mipi_csi.c:294: warning: Function parameter or member 'disp_axi' not described in 'csi_state'
>> drivers/media/platform/mxc/capture/mxc_mipi_csi.c:294: warning: Function parameter or member 'disp_apb' not described in 'csi_state'
>> drivers/media/platform/mxc/capture/mxc_mipi_csi.c:294: warning: Function parameter or member 'clk_frequency' not described in 'csi_state'
>> drivers/media/platform/mxc/capture/mxc_mipi_csi.c:294: warning: Function parameter or member 'fwnode' not described in 'csi_state'
>> drivers/media/platform/mxc/capture/mxc_mipi_csi.c:294: warning: Function parameter or member 'subdev_notifier' not described in 'csi_state'
>> drivers/media/platform/mxc/capture/mxc_mipi_csi.c:294: warning: Function parameter or member 'hw_reset' not described in 'csi_state'
>> drivers/media/platform/mxc/capture/mxc_mipi_csi.c:294: warning: Function parameter or member 'mipi_phy_regulator' not described in 'csi_state'


vim +294 drivers/media/platform/mxc/capture/mxc_mipi_csi.c

234dcc3e17a39b Robby Cai   2019-09-27  231  
234dcc3e17a39b Robby Cai   2019-09-27  232  /**
234dcc3e17a39b Robby Cai   2019-09-27  233   * struct csi_state - the driver's internal state data structure
234dcc3e17a39b Robby Cai   2019-09-27  234   * @lock: mutex serializing the subdev and power management operations,
234dcc3e17a39b Robby Cai   2019-09-27  235   *        protecting @format and @flags members
234dcc3e17a39b Robby Cai   2019-09-27  236   * @sd: v4l2_subdev associated with CSIS device instance
234dcc3e17a39b Robby Cai   2019-09-27  237   * @index: the hardware instance index
234dcc3e17a39b Robby Cai   2019-09-27  238   * @pdev: CSIS platform device
234dcc3e17a39b Robby Cai   2019-09-27  239   * @phy: pointer to the CSIS generic PHY
234dcc3e17a39b Robby Cai   2019-09-27  240   * @regs: mmaped I/O registers memory
234dcc3e17a39b Robby Cai   2019-09-27  241   * @supplies: CSIS regulator supplies
234dcc3e17a39b Robby Cai   2019-09-27  242   * @clock: CSIS clocks
234dcc3e17a39b Robby Cai   2019-09-27  243   * @irq: requested s5p-mipi-csis irq number
234dcc3e17a39b Robby Cai   2019-09-27  244   * @flags: the state variable for power and streaming control
234dcc3e17a39b Robby Cai   2019-09-27  245   * @clock_frequency: device bus clock frequency
234dcc3e17a39b Robby Cai   2019-09-27  246   * @hs_settle: HS-RX settle time
234dcc3e17a39b Robby Cai   2019-09-27  247   * @clk_settle: Clk settle time
234dcc3e17a39b Robby Cai   2019-09-27  248   * @num_lanes: number of MIPI-CSI data lanes used
234dcc3e17a39b Robby Cai   2019-09-27  249   * @max_num_lanes: maximum number of MIPI-CSI data lanes supported
234dcc3e17a39b Robby Cai   2019-09-27  250   * @wclk_ext: CSI wrapper clock: 0 - bus clock, 1 - external SCLK_CAM
234dcc3e17a39b Robby Cai   2019-09-27  251   * @csis_fmt: current CSIS pixel format
234dcc3e17a39b Robby Cai   2019-09-27  252   * @format: common media bus format for the source and sink pad
234dcc3e17a39b Robby Cai   2019-09-27  253   * @slock: spinlock protecting structure members below
234dcc3e17a39b Robby Cai   2019-09-27  254   * @pkt_buf: the frame embedded (non-image) data buffer
234dcc3e17a39b Robby Cai   2019-09-27  255   * @events: MIPI-CSIS event (error) counters
234dcc3e17a39b Robby Cai   2019-09-27  256   */
234dcc3e17a39b Robby Cai   2019-09-27  257  struct csi_state {
234dcc3e17a39b Robby Cai   2019-09-27  258  	struct mutex lock;
234dcc3e17a39b Robby Cai   2019-09-27  259  	struct device		*dev;
234dcc3e17a39b Robby Cai   2019-09-27  260  	struct v4l2_subdev mipi_sd;
234dcc3e17a39b Robby Cai   2019-09-27  261  	struct v4l2_subdev *sensor_sd;
234dcc3e17a39b Robby Cai   2019-09-27  262  	struct v4l2_device	v4l2_dev;
234dcc3e17a39b Robby Cai   2019-09-27  263  
234dcc3e17a39b Robby Cai   2019-09-27  264  	u8 index;
234dcc3e17a39b Robby Cai   2019-09-27  265  	struct platform_device *pdev;
234dcc3e17a39b Robby Cai   2019-09-27  266  	struct phy *phy;
234dcc3e17a39b Robby Cai   2019-09-27  267  	void __iomem *regs;
234dcc3e17a39b Robby Cai   2019-09-27  268  	struct clk *mipi_clk;
234dcc3e17a39b Robby Cai   2019-09-27  269  	struct clk *phy_clk;
234dcc3e17a39b Robby Cai   2019-09-27  270  	struct clk *disp_axi;
234dcc3e17a39b Robby Cai   2019-09-27  271  	struct clk *disp_apb;
234dcc3e17a39b Robby Cai   2019-09-27  272  	int irq;
234dcc3e17a39b Robby Cai   2019-09-27  273  	u32 flags;
234dcc3e17a39b Robby Cai   2019-09-27  274  
234dcc3e17a39b Robby Cai   2019-09-27  275  	u32 clk_frequency;
234dcc3e17a39b Robby Cai   2019-09-27  276  	u32 hs_settle;
234dcc3e17a39b Robby Cai   2019-09-27  277  	u32 clk_settle;
234dcc3e17a39b Robby Cai   2019-09-27  278  	u32 num_lanes;
234dcc3e17a39b Robby Cai   2019-09-27  279  	u32 max_num_lanes;
234dcc3e17a39b Robby Cai   2019-09-27  280  	u8 wclk_ext;
234dcc3e17a39b Robby Cai   2019-09-27  281  
234dcc3e17a39b Robby Cai   2019-09-27  282  	const struct csis_pix_format *csis_fmt;
234dcc3e17a39b Robby Cai   2019-09-27  283  	struct v4l2_mbus_framefmt format;
234dcc3e17a39b Robby Cai   2019-09-27  284  
234dcc3e17a39b Robby Cai   2019-09-27  285  	spinlock_t slock;
234dcc3e17a39b Robby Cai   2019-09-27  286  	struct csis_pktbuf pkt_buf;
234dcc3e17a39b Robby Cai   2019-09-27  287  	struct mipi_csis_event events[MIPI_CSIS_NUM_EVENTS];
234dcc3e17a39b Robby Cai   2019-09-27  288  
8eeda6869b9431 Guoniu.zhou 2021-03-29  289  	struct fwnode_handle *fwnode;
234dcc3e17a39b Robby Cai   2019-09-27  290  	struct v4l2_async_notifier  subdev_notifier;
234dcc3e17a39b Robby Cai   2019-09-27  291  
234dcc3e17a39b Robby Cai   2019-09-27  292  	struct csis_hw_reset hw_reset;
234dcc3e17a39b Robby Cai   2019-09-27  293  	struct regulator     *mipi_phy_regulator;
234dcc3e17a39b Robby Cai   2019-09-27 @294  };
234dcc3e17a39b Robby Cai   2019-09-27  295  

:::::: The code at line 294 was first introduced by commit
:::::: 234dcc3e17a39b8b44df1b1f3b804862902bad3c media: mipi csi: add samsung's mipi csi support

:::::: TO: Robby Cai <robby.cai@nxp.com>
:::::: CC: Dong Aisheng <aisheng.dong@nxp.com>

-- 
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-09-30 13:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-30 13:57 [freescale-fslc:6.6-2.0.x-imx 5783/16788] drivers/media/platform/mxc/capture/mxc_mipi_csi.c:294: warning: Function parameter or member 'v4l2_dev' not described in 'csi_state' 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.