From: Paul Menzel Subject: Re: [patch] drm/nouveau/disp: sizeof() wrong pointer Date: Tue, 22 Jan 2013 10:42:25 +0100 Message-ID: <1358847745.17068.7.camel@mattotaupa> References: <20130122072022.GB8966@elgon.mountain> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0766874918==" Return-path: Received: from mail.gw90.de (mail.gw90.de [188.40.100.199]) by gabe.freedesktop.org (Postfix) with ESMTP id C2962E67BB for ; Tue, 22 Jan 2013 01:41:24 -0800 (PST) In-Reply-To: <20130122072022.GB8966@elgon.mountain> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Dan Carpenter Cc: kernel-janitors@vger.kernel.org, Ben Skeggs , dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0766874918== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-I9+2ZMRC27aHVtCSgvQN" --=-I9+2ZMRC27aHVtCSgvQN Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dear Dan, Am Dienstag, den 22.01.2013, 10:20 +0300 schrieb Dan Carpenter: > "data" is a void pointer and "args" is "data" after we have casted it to > a struct. We care about the sizeof the struct here. Btw, sizeof(*data) s,sizeof the,size of the, > is 1. Did you find this by manual inspection or did you use some tool? > Signed-off-by: Dan Carpenter [=E2=80=A6] With the typo fixed above, Acked-by: Paul Menzel Thanks, Paul --=-I9+2ZMRC27aHVtCSgvQN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEABECAAYFAlD+XwEACgkQPX1aK2wOHVitMwCfUdvpCwPHEwLdyCjWLigsxotP zxQAn148I2yPUlWonvEyWbIjCpWm6C22 =qaUL -----END PGP SIGNATURE----- --=-I9+2ZMRC27aHVtCSgvQN-- --===============0766874918== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0766874918==--