diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2020-06-29 08:28:33 -0500 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2020-07-07 11:58:59 -0500 |
commit | 33c326014fe69304244868cc793c2c77be533125 (patch) | |
tree | ab7c8a13fa7b10a9586ca1104534a009b2e41333 /drivers/fpga/fpga-bridge.c | |
parent | 8c2f52663973e643c617663d826e2b0daa008b38 (diff) |
umd: Stop using split_argv
There is exactly one argument so there is nothing to split. All
split_argv does now is cause confusion and avoid the need for a cast
when passing a "const char *" string to call_usermodehelper_setup.
So avoid confusion and the possibility of an odd driver name causing
problems by just using a fixed argv array with a cast in the call to
call_usermodehelper_setup.
v1: https://lkml.kernel.org/r/87sged3a9n.fsf_-_@x220.int.ebiederm.org
Link: https://lkml.kernel.org/r/20200702164140.4468-16-ebiederm@xmission.com
Acked-by: Alexei Starovoitov <ast@kernel.org>
Tested-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions