Skip to content
Commit 7c22e645 authored by Geliang Tang's avatar Geliang Tang Committed by Greg Kroah-Hartman
Browse files

pcmcia: use kstrdup() in pcmcia_device_query()



Use kstrdup instead of kmalloc and strncpy.

Signed-off-by: default avatarGeliang Tang <geliangtang@163.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent df6be790
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment