[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87egbd537e.fsf@eliezer.anholt.net>
Date: Sun, 13 Mar 2016 17:10:45 -0700
From: Eric Anholt <eric@...olt.net>
To: Dan Carpenter <dan.carpenter@...cle.com>,
David Airlie <airlied@...ux.ie>
Cc: "Luis R. Rodriguez" <mcgrof@...e.com>,
Daniel Vetter <daniel.vetter@...ll.ch>,
Andrew Morton <akpm@...ux-foundation.org>,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [patch] drm/vc4: Return -EFAULT on copy_from_user() failure
Dan Carpenter <dan.carpenter@...cle.com> writes:
> The copy_from_user() function returns the number of bytes not copied but
> we want to return a negative error code.
>
> Fixes: 463873d57014 ('drm/vc4: Add an API for creating GPU shaders in GEM BOs.')
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Pulled. Thanks!
Download attachment "signature.asc" of type "application/pgp-signature" (819 bytes)
Powered by blists - more mailing lists