summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8188eu/hal/rtl8188e_sreset.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-09-27 10:15:17 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2013-09-27 10:15:17 +1000
commitbf219b7ca2d7678e2d8a4024f0bd9290fb0734ce (patch)
treed7dd6a1e2c55427061b84852b66eb8e334e3b669 /drivers/staging/rtl8188eu/hal/rtl8188e_sreset.c
parent46c66f7fafa1b589c5a54d1924109194a3278a64 (diff)
kfifo: kfifo_copy_{to,from}_user: fix copied bytes calculation
'copied' and 'len' are in bytes, while 'ret' is in elements, so we need to multiply 'ret' with the size of one element to get the correct result. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Cc: Stefani Seibold <stefani@seibold.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/hal/rtl8188e_sreset.c')
0 files changed, 0 insertions, 0 deletions