[PATCH] drivers/gpu/drm/nouveau: remove erroneous semicolon
Paul Menzel
paulepanter at users.sourceforge.net
Sun Apr 7 04:24:23 PDT 2013
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 <gang.chen at asianux.com>
> ---
> drivers/gpu/drm/nouveau/nv50_display.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/gpu/drm/nouveau/nv50_display.c b/drivers/gpu/drm/nouveau/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 = data;
> if (nouveau_bo_rd32(flip->disp->sync, flip->chan->addr / 4) ==
> - flip->chan->data);
> + flip->chan->data)
> return true;
> usleep_range(1, 2);
> return false;
Acked-by: Paul Menzel <paulepanter at users.sourceforge.net>
Thanks,
Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130407/dd7a6db4/attachment.pgp>
More information about the dri-devel
mailing list