diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-04-05 00:18:55 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-03 19:44:52 -0400 |
commit | d985a5840dd3abe7297721d5169ee3889a10089a (patch) | |
tree | 84a063226421af869192b96b3ab6843bc0d11e62 /kernel/panic.c | |
parent | 472603137a81918d2ef2b06d9dd557544810539b (diff) |
staging: r8188eu: cleanup by using "len" consistently
"*(p + 1)" and "len" are the same thing. For reviewers who don't know
that, then this code is worrying because we cap "len", but pass
"*(p + 1)" to memcpy().
I have changed the code to use "len" throughout.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/panic.c')
0 files changed, 0 insertions, 0 deletions