aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-ti.c
diff options
context:
space:
mode:
authorEryk Brol <[email protected]>2020-08-27 16:48:38 -0400
committerAlex Deucher <[email protected]>2020-09-15 17:52:42 -0400
commit918698d5c2b50433714d2042f55b55b090faa167 (patch)
tree0e04d852ec4b42f944169112c3bb657b4685de71 /drivers/usb/cdns3/cdns3-ti.c
parent4b675aad9695070c728c386b8f15ff8f27cd3e34 (diff)
drm/amd/display: Return the number of bytes parsed than allocated
[why & how] Previously we were returning the number of bytes allocated for a write buffer from debugfs and when manually used it wouldn't rise any errors, but it wouldn't match the size of the parameters passed from userspace. In successful case return the size passed by usermode otherwise the error code is returned. That simplifies the parser helper and removes a potential error of returning mismatched input size. Signed-off-by: Eryk Brol <[email protected]> Signed-off-by: Mikita Lipski <[email protected]> Acked-by: Aurabindo Pillai <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions