OSDN Git Service

greybus: loopback: use U64_MAX for initialization
authorAlex Elder <elder@linaro.org>
Mon, 3 Aug 2015 17:57:12 +0000 (12:57 -0500)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 4 Aug 2015 03:11:49 +0000 (20:11 -0700)
commit3320e784550551ae8ae5c22d58e6b90addafe8a4
tree099d20146874d94ff34481215e95302fba2a3edf
parent3f12c3ed21d9e28ae2dc50a6c567ee5d5c6054d1
greybus: loopback: use U64_MAX for initialization

Use the largest representable value when initializing the "min"
field when resetting loopback statistics.

Signed-off-by: Alex Elder <elder@linaro.org>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/loopback.c