lkml.org 
[lkml]   [2010]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/3] Input: xpad - return proper error in error path
On Fri, Nov 12, 2010 at 10:48:36AM +0800, Axel Lin wrote:
> In current implementation, xpad_probe return 0 when
> usb_alloc_urb failed for xpad->bulk_out and kzalloc failed for xpad->bdata.
>
> This patch removes the initialization for error variable,
> assign the error code at the place the error happens instead.
>
> Signed-off-by: Axel Lin <axel.lin@gmail.com>

Applied all 3, thanks Axel.

--
Dmitry


\
 
 \ /
  Last update: 2010-11-12 07:09    [W:2.329 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site