linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Boris Brezillon <boris.brezillon@free-electrons.com>
Cc: kbuild-all@01.org, David Airlie <airlied@linux.ie>,
	Daniel Vetter <daniel@ffwll.ch>,
	dri-devel@lists.freedesktop.org, Rob Herring <robh+dt@kernel.org>,
	Pawel Moll <pawel.moll@arm.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Ian Campbell <ijc+devicetree@hellion.org.uk>,
	Kumar Gala <galak@codeaurora.org>,
	devicetree@vger.kernel.org,
	Nicolas Ferre <nicolas.ferre@atmel.com>,
	Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>,
	Alexandre Belloni <alexandre.belloni@free-electrons.com>,
	linux-kernel@vger.kernel.org,
	Boris Brezillon <boris.brezillon@free-electrons.com>
Subject: Re: [PATCH 1/2] drm: bridge: sil902x
Date: Wed, 6 Jan 2016 20:36:34 +0800	[thread overview]
Message-ID: <201601062056.eJ1QcYp2%fengguang.wu@intel.com> (raw)
In-Reply-To: <1452079551-30914-1-git-send-email-boris.brezillon@free-electrons.com>

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

Hi Boris,

[auto build test WARNING on drm/drm-next]
[also build test WARNING on v4.4-rc8 next-20160106]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Boris-Brezillon/drm-bridge-sil902x/20160106-192921
base:   git://people.freedesktop.org/~airlied/linux.git drm-next
config: powerpc-allyesconfig (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=powerpc 

All warnings (new ones prefixed by >>):

   In file included from drivers/gpu/drm/bridge/sil902x.c:31:0:
   drivers/gpu/drm/bridge/sil902x.c: In function 'sil902x_bridge_mode_set':
>> drivers/gpu/drm/bridge/sil902x.c:300:13: warning: format '%zd' expects argument of type 'signed size_t', but argument 2 has type 'int' [-Wformat=]
      DRM_ERROR("failed to pack AVI infoframe: %zd\n", ret);
                ^
   include/drm/drmP.h:168:10: note: in definition of macro 'DRM_ERROR'
     drm_err(fmt, ##__VA_ARGS__)
             ^
   drivers/gpu/drm/bridge/sil902x.c: In function 'sil902x_probe':
   drivers/gpu/drm/bridge/sil902x.c:401:16: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
      dev_err(dev, "Failed to retrieve/request reset gpio: %d\n",
                   ^

vim +300 drivers/gpu/drm/bridge/sil902x.c

   284			 SIL902X_TPI_AVI_PIXEL_REP_BUS_24BIT;
   285		buf[9] = SIL902X_TPI_AVI_INPUT_RANGE_AUTO |
   286			 SIL902X_TPI_AVI_INPUT_COLORSPACE_RGB;
   287	
   288		ret = regmap_bulk_write(regmap, SIL902X_TPI_VIDEO_DATA, buf, 10);
   289		if (ret)
   290			return;
   291	
   292		ret = drm_hdmi_avi_infoframe_from_display_mode(&frame, adj);
   293		if (ret < 0) {
   294			DRM_ERROR("couldn't fill AVI infoframe\n");
   295			return;
   296		}
   297	
   298		ret = hdmi_avi_infoframe_pack(&frame, buf, sizeof(buf));
   299		if (ret < 0) {
 > 300			DRM_ERROR("failed to pack AVI infoframe: %zd\n", ret);
   301			return;
   302		}
   303	
   304		/* Do not send the infoframe header, but keep the CRC field. */
   305		regmap_bulk_write(regmap, SIL902X_TPI_AVI_INFOFRAME,
   306				  buf + HDMI_INFOFRAME_HEADER_SIZE - 1,
   307				  HDMI_AVI_INFOFRAME_SIZE + 1);
   308	}

---
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: 47204 bytes --]

  parent reply	other threads:[~2016-01-06 12:38 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-06 11:25 [PATCH 1/2] drm: bridge: sil902x Boris Brezillon
2016-01-06 11:25 ` [PATCH 2/2] drm: bridge: add sil902x DT bindings doc Boris Brezillon
2016-01-06 13:19   ` Rob Herring
2016-01-06 13:24     ` Boris Brezillon
2016-01-06 12:13 ` [PATCH 1/2] drm: bridge: sil902x kbuild test robot
2016-01-06 12:25 ` [PATCH v2 " Boris Brezillon
2016-01-07  5:42   ` Archit Taneja
2016-01-07  9:35     ` Boris Brezillon
2016-03-16 13:14   ` Nicolas Ferre
2016-01-06 12:36 ` kbuild test robot [this message]
2016-01-06 13:47 ` [PATCH " Sascha Hauer
2016-01-06 13:53   ` Boris Brezillon
2016-01-06 15:26     ` Sascha Hauer
2016-01-06 15:35       ` Ilia Mirkin
2016-01-07  7:01         ` Sascha Hauer

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=201601062056.eJ1QcYp2%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=airlied@linux.ie \
    --cc=alexandre.belloni@free-electrons.com \
    --cc=boris.brezillon@free-electrons.com \
    --cc=daniel@ffwll.ch \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=galak@codeaurora.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=nicolas.ferre@atmel.com \
    --cc=pawel.moll@arm.com \
    --cc=plagnioj@jcrosoft.com \
    --cc=robh+dt@kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).