diff options
author | Geliang Tang <geliangtang@163.com> | 2015-10-02 00:37:57 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-05 04:47:09 +0100 |
commit | 7c22e645cd742b82ec232e4f2328fc53d247ccea (patch) | |
tree | bda53e1c647782de44579f2a9d34a127962dc91b /drivers/memstick/host | |
parent | df6be790623f11c0db8152e724f4951cd944ffe2 (diff) | |
download | op-kernel-dev-7c22e645cd742b82ec232e4f2328fc53d247ccea.zip op-kernel-dev-7c22e645cd742b82ec232e4f2328fc53d247ccea.tar.gz |
pcmcia: use kstrdup() in pcmcia_device_query()
Use kstrdup instead of kmalloc and strncpy.
Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/memstick/host')
0 files changed, 0 insertions, 0 deletions