mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Chris Zhong <zyw@rock-chips.com>
Cc: kbuild-all@01.org, heiko@sntech.de,
	linux-rockchip@lists.infradead.org,
	Chris Zhong <zyw@rock-chips.com>,
	Russell King <rmk+kernel@arm.linux.org.uk>,
	Vincent Palatin <vpalatin@chromium.org>,
	Andrew Bresticker <abrestic@chromium.org>,
	Thierry Reding <treding@nvidia.com>,
	linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
	Inki Dae <inki.dae@samsung.com>,
	Andy Yan <andy.yan@rock-chips.com>,
	David Airlie <airlied@linux.ie>,
	Ajay Kumar <ajaykumar.rs@samsung.com>,
	Sean Paul <seanpaul@chromium.org>
Subject: Re: [PATCH 05/10] drm/bridge: Add Synopsys DesignWare MIPI DSI host controller driver
Date: Sat, 10 Oct 2015 18:29:20 +0800	[thread overview]
Message-ID: <201510101839.sJ8LLEj0%fengguang.wu@intel.com> (raw)
In-Reply-To: <1444470930-17150-6-git-send-email-zyw@rock-chips.com>

[-- Attachment #1: Type: text/plain, Size: 1974 bytes --]

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 49960 bytes --]

  reply	other threads:[~2015-10-10 10:30 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-10  9:55 [PATCH 00/10] Add mipi dsi support for rk3288 Chris Zhong
2015-10-10  9:55 ` [PATCH 01/10] clk: rockchip: Add sclk_mipidsi_24m for mipi dsi Chris Zhong
2015-10-16 21:39   ` Stephen Boyd
2015-10-17  0:49     ` Chris Zhong
2015-10-10  9:55 ` [PATCH 02/10] drm/rockchip: return a true clock rate to adjusted_mode Chris Zhong
2015-10-10  9:55 ` [PATCH 03/10] drm/dsi: Add a helper to get bits per pixel of MIPI DSI pixel format Chris Zhong
2015-10-10  9:55 ` [PATCH 04/10] Documentation: dt-bindings: Add bindings for Synopsys DW MIPI DSI DRM bridge driver Chris Zhong
2015-10-10  9:55 ` [PATCH 05/10] drm/bridge: Add Synopsys DesignWare MIPI DSI host controller driver Chris Zhong
2015-10-10 10:29   ` kbuild test robot [this message]
2015-10-10 12:42   ` kbuild test robot
2015-10-11  7:26   ` kbuild test robot
2015-10-10  9:55 ` [PATCH 06/10] drm: rockchip: Support Synopsys DesignWare MIPI DSI host controller Chris Zhong
2015-10-10  9:55 ` [PATCH 07/10] Documentation: dt-bindings: Add bindings for rk3288 DW MIPI DSI driver Chris Zhong
2015-10-10  9:55 ` [PATCH 08/10] ARM: dts: rockchip: add rk3288 mipi_dsi nodes Chris Zhong
2015-10-10  9:55 ` [PATCH 09/10] drm/panel: simple: Add support for BOE TV080WUM-NL0 Chris Zhong
2015-10-30 17:30   ` Thierry Reding
2015-10-10  9:55 ` [PATCH 10/10] ARM: dts: rockchip: add support mipi panel tv080wum-nl0 for rk3288-evb Chris Zhong

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=201510101839.sJ8LLEj0%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=abrestic@chromium.org \
    --cc=airlied@linux.ie \
    --cc=ajaykumar.rs@samsung.com \
    --cc=andy.yan@rock-chips.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=heiko@sntech.de \
    --cc=inki.dae@samsung.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=rmk+kernel@arm.linux.org.uk \
    --cc=seanpaul@chromium.org \
    --cc=treding@nvidia.com \
    --cc=vpalatin@chromium.org \
    --cc=zyw@rock-chips.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®