diff options
author | Brian Norris <computersforpeace@gmail.com> | 2015-12-09 23:50:26 +0100 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2016-01-07 21:43:28 +0100 |
commit | be4a1326d12cce8df1f57017bf4112eaab437a38 (patch) | |
tree | c271e4c6942f46a387efabcdf3d003c9a80b5084 /ipc | |
parent | test: firmware_class: report errors properly on failure (diff) | |
download | linux-be4a1326d12cce8df1f57017bf4112eaab437a38.tar.xz linux-be4a1326d12cce8df1f57017bf4112eaab437a38.zip |
test: firmware_class: use kstrndup() where appropriate
We're essentially just doing an open-coded kstrndup(). The only
differences are with what happens after the first '\0' character, but
request_firmware() doesn't care about that.
Suggested-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions