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] [day] [month] [year] [list]
Date:	Thu, 24 Dec 2015 15:50:17 -0800
From:	Eric Anholt <eric@...olt.net>
To:	Sudip Mukherjee <sudipm.mukherjee@...il.com>,
	David Airlie <airlied@...ux.ie>
Cc:	linux-kernel@...r.kernel.org, dri-devel@...ts.freedesktop.org,
	Sudip Mukherjee <sudipm.mukherjee@...il.com>
Subject: Re: [PATCH] drm/vc4: fix build warning

Sudip Mukherjee <sudipm.mukherjee@...il.com> writes:

> We were getting build warning:
>
> drivers/gpu/drm/vc4/vc4_validate.c: In function 'validate_gl_shader_rec':
> drivers/gpu/drm/vc4/vc4_validate.c:864:4:
> warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' [-Wformat=]
> DRM_ERROR("BO offset overflow (%d + %d > %d)\n",
>
> vbo->base.size is size_t and for printing size_t we should be using %zu.
>
> Signed-off-by: Sudip Mukherjee <sudip@...torindia.org>

Reviewed-by: Eric Anholt <eric@...olt.net>

and I've pulled it for the next round of fixes.

Download attachment "signature.asc" of type "application/pgp-signature" (819 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ