lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 10 Oct 2015 18:29:20 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Chris Zhong <zyw@...k-chips.com>
Cc:	kbuild-all@...org, heiko@...ech.de,
	linux-rockchip@...ts.infradead.org,
	Chris Zhong <zyw@...k-chips.com>,
	Russell King <rmk+kernel@....linux.org.uk>,
	Vincent Palatin <vpalatin@...omium.org>,
	Andrew Bresticker <abrestic@...omium.org>,
	Thierry Reding <treding@...dia.com>,
	linux-kernel@...r.kernel.org, dri-devel@...ts.freedesktop.org,
	Inki Dae <inki.dae@...sung.com>,
	Andy Yan <andy.yan@...k-chips.com>,
	David Airlie <airlied@...ux.ie>,
	Ajay Kumar <ajaykumar.rs@...sung.com>,
	Sean Paul <seanpaul@...omium.org>
Subject: Re: [PATCH 05/10] drm/bridge: Add Synopsys DesignWare MIPI DSI host
 controller driver

Hi Chris,

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

config: x86_64-allmodconfig (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

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:524:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t {aka const long unsigned int}' [-Wformat=]
      dev_err(dsi->dev, "too long tx buf length %d for short write\n",
                        ^
   drivers/gpu/drm/bridge/dw_mipi_dsi.c: In function 'dw_mipi_dsi_dcs_long_write':
   drivers/gpu/drm/bridge/dw_mipi_dsi.c:541:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t {aka const long unsigned int}' [-Wformat=]
      dev_err(dsi->dev, "wrong tx buf length %d for long write\n",
                        ^

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

   508				   CMD_PKT_STATUS_TIMEOUT, STATUS_TO_SET);
   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,

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/octet-stream" (49960 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ