commit | 0d5cf954656387a595a8d5bb7e376f31829aae4d | [log] [tgz] |
---|---|---|
author | Yang Yingliang <yangyingliang@huawei.com> | Tue Apr 06 11:44:34 2021 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Apr 10 10:58:50 2021 +0200 |
tree | df82e000766a09634fa1b4ddbec5753be37894af | |
parent | 6c00365d531163a44ce57d862883db9424bd19ab [diff] |
speakup: i18n: Switch to kmemdup_nul() in spk_msg_set() Use kmemdup_nul() helper instead of open-coding to simplify the code in spk_msg_set(). Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Link: https://lore.kernel.org/r/20210406034434.442251-1-yangyingliang@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>