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]
Message-ID: <201601062056.eJ1QcYp2%fengguang.wu@intel.com>
Date:	Wed, 6 Jan 2016 20:36:34 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Boris Brezillon <boris.brezillon@...e-electrons.com>
Cc:	kbuild-all@...org, David Airlie <airlied@...ux.ie>,
	Daniel Vetter <daniel@...ll.ch>,
	dri-devel@...ts.freedesktop.org, Rob Herring <robh+dt@...nel.org>,
	Pawel Moll <pawel.moll@....com>,
	Mark Rutland <mark.rutland@....com>,
	Ian Campbell <ijc+devicetree@...lion.org.uk>,
	Kumar Gala <galak@...eaurora.org>, devicetree@...r.kernel.org,
	Nicolas Ferre <nicolas.ferre@...el.com>,
	Jean-Christophe Plagniol-Villard <plagnioj@...osoft.com>,
	Alexandre Belloni <alexandre.belloni@...e-electrons.com>,
	linux-kernel@...r.kernel.org,
	Boris Brezillon <boris.brezillon@...e-electrons.com>
Subject: Re: [PATCH 1/2] drm: bridge: sil902x

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ