Re: [PATCH] HID: pidff - fix unnecessary loop iterations on reset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 4 Nov 2009, Anssi Hannula wrote:

> When encountering a strange value in the pool report, pidff_reset
> will always refetch the report 20 times, even if one of the retries
> results in a sane value. This is because a temporary variable being
> used to store the value is not being updated inside the loop.
> 
> Fix it by using the value directly in the loop.
> 
> Reported-by: Roel Kluin <roel.kluin@xxxxxxxxx>
> Signed-off-by: Anssi Hannula <anssi.hannula@xxxxxx>

Applied, thanks.

-- 
Jiri Kosina
SUSE Labs, Novell Inc.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux