Re: [PATCH] atm: idt77105: fix fetch_stats() result

From: David Miller
Date: Fri Jan 21 2011 - 19:24:06 EST


From: Vasiliy Kulikov <segoon@xxxxxxxxxxxx>
Date: Fri, 21 Jan 2011 12:43:07 +0300

> copy_to_user() used PRIV(dev)->stats instead of local stats variable.
> Zero stats were returned to user in case of (zero != 0), also memcpy()
> was pointless.
>
> Signed-off-by: Vasiliy Kulikov <segoon@xxxxxxxxxxxx>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/