]> git.baikalelectronics.ru Git - kernel.git/commit
xen-netback: use kstrdup instead of open-coding it
authorMinghao Chi <chi.minghao@zte.com.cn>
Wed, 21 Sep 2022 02:16:17 +0000 (02:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Sep 2022 11:03:35 +0000 (12:03 +0100)
commit4c99c4f7ec9c71bd8eb7fcd4f4869b4538b9aaee
tree08084d30069ee88cfed91298b59adf3da2764472
parentcce2a0ec74f8ff6f04121b46440458e0cac5d7f8
xen-netback: use kstrdup instead of open-coding it

use kstrdup instead of open-coding it.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Acked-by: Wei Liu <wei.liu@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netback/xenbus.c