diff options
author | Ivan Vecera <ivecera@redhat.com> | 2015-06-11 15:52:26 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-06-12 00:57:17 +0200 |
commit | d0e6a8064c4293a1e087b2fdd6c2b67cd8ba8f56 (patch) | |
tree | 01eda6dfa3e210601706141cf8be5e97a69d865b /crypto/cmac.c | |
parent | bna: correct comparisons/assignments to bool (diff) | |
download | linux-d0e6a8064c4293a1e087b2fdd6c2b67cd8ba8f56.tar.xz linux-d0e6a8064c4293a1e087b2fdd6c2b67cd8ba8f56.zip |
bna: use memdup_user to copy userspace buffers
Patch converts kzalloc->copy_from_user sequence to memdup_user. There
is also one useless assignment of NULL to bnad->regdata as it is followed
by assignment of kzalloc output.
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/cmac.c')
0 files changed, 0 insertions, 0 deletions