Commit 2221eca0a2c0f7f9918efdcaa52fb8e1adff991f
Committed by
David S. Miller
1 parent
9190b3b320
Exists in
master
and in
7 other branches
atm: idt77105: fix fetch_stats() result
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@openwall.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
drivers/atm/idt77105.c