[PATCH 05/10] drm/bridge: Add Synopsys DesignWare MIPI DSI host controller driver

kbuild test robot lkp at intel.com
Sat Oct 10 05:42:30 PDT 2015


Hi Chris,

[auto build test WARNING on rockchip/for-next -- if it's inappropriate base, please ignore]

config: alpha-allmodconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=alpha 

All warnings (new ones prefixed by >>):

   drivers/gpu/drm/bridge/dw_mipi_dsi.c: In function 'dw_mipi_dsi_dcs_short_write':
>> drivers/gpu/drm/bridge/dw_mipi_dsi.c:525:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat=]
       msg->tx_len);
       ^
   drivers/gpu/drm/bridge/dw_mipi_dsi.c: In function 'dw_mipi_dsi_dcs_long_write':
   drivers/gpu/drm/bridge/dw_mipi_dsi.c:542:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat=]
       msg->tx_len);
       ^

vim +525 drivers/gpu/drm/bridge/dw_mipi_dsi.c

   509		if (ret < 0) {
   510			dev_err(dsi->dev, "failed to write command FIFO\n");
   511			return ret;
   512		}
   513	
   514		return 0;
   515	}
   516	
   517	static int dw_mipi_dsi_dcs_short_write(struct dw_mipi_dsi *dsi,
   518					       const struct mipi_dsi_msg *msg)
   519	{
   520		const u16 *tx_buf = msg->tx_buf;
   521		u32 val = GEN_HDATA(*tx_buf) | GEN_HTYPE(msg->type);
   522	
   523		if (msg->tx_len > 2) {
   524			dev_err(dsi->dev, "too long tx buf length %d for short write\n",
 > 525				msg->tx_len);
   526			return -EINVAL;
   527		}
   528	
   529		return dw_mipi_dsi_gen_pkt_hdr_write(dsi, val);
   530	}
   531	
   532	static int dw_mipi_dsi_dcs_long_write(struct dw_mipi_dsi *dsi,
   533					      const struct mipi_dsi_msg *msg)

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 43215 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-rockchip/attachments/20151010/3808d298/attachment-0001.obj>


More information about the Linux-rockchip mailing list