diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2021-04-06 06:44:34 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-10 11:58:50 +0300 |
commit | 0d5cf954656387a595a8d5bb7e376f31829aae4d (patch) | |
tree | df82e000766a09634fa1b4ddbec5753be37894af /drivers/firmware | |
parent | 6c00365d531163a44ce57d862883db9424bd19ab (diff) | |
download | linux-0d5cf954656387a595a8d5bb7e376f31829aae4d.tar.xz |
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>
Diffstat (limited to 'drivers/firmware')
0 files changed, 0 insertions, 0 deletions