From: Paul Menzel Subject: Re: [PATCH] drivers/gpu/drm/nouveau: remove erroneous semicolon Date: Sun, 07 Apr 2013 13:24:23 +0200 Message-ID: <1365333863.7207.14.camel@mattotaupa> References: <51529E77.2010906@asianux.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-HtPrv3sOPzaIo95CQvIj" Return-path: In-Reply-To: <51529E77.2010906@asianux.com> Sender: linux-kernel-owner@vger.kernel.org To: Chen Gang Cc: airlied@linux.ie, bskeggs@redhat.com, airlied@redhat.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --=-HtPrv3sOPzaIo95CQvIj Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dear Chen, Am Mittwoch, den 27.03.2013, 15:23 +0800 schrieb Chen Gang: > need remove semicolon, or always return true. do you know if this cause any problems? Did you find this reading the code or by using some tools? > Signed-off-by: Chen Gang > --- > drivers/gpu/drm/nouveau/nv50_display.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) >=20 > diff --git a/drivers/gpu/drm/nouveau/nv50_display.c b/drivers/gpu/drm/nou= veau/nv50_display.c > index 7f0e6c3..1ddc03e 100644 > --- a/drivers/gpu/drm/nouveau/nv50_display.c > +++ b/drivers/gpu/drm/nouveau/nv50_display.c > @@ -479,7 +479,7 @@ nv50_display_flip_wait(void *data) > { > struct nv50_display_flip *flip =3D data; > if (nouveau_bo_rd32(flip->disp->sync, flip->chan->addr / 4) =3D=3D > - flip->chan->data); > + flip->chan->data) > return true; > usleep_range(1, 2); > return false; Acked-by: Paul Menzel Thanks, Paul --=-HtPrv3sOPzaIo95CQvIj 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) iEYEABECAAYFAlFhV2cACgkQPX1aK2wOHVhMfQCeKdcWk/a73SRXPutcW0oQc88l yQoAnRbeLu4H/H9h1AvucKBxnDNvCT15 =fYBS -----END PGP SIGNATURE----- --=-HtPrv3sOPzaIo95CQvIj--