diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2019-08-15 09:58:26 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-15 11:34:32 -0700 |
commit | 2aafdf5a5786ebbd8ccfe132ed6267c6962c5c3c (patch) | |
tree | dcfe3f51920f1125b43a536a0537fae0c7757e09 /drivers/net/ethernet/mellanox/mlx5/core/en/xsk/setup.c | |
parent | c554336efa9bbc28d6ec14efbee3c7d63c61a34f (diff) | |
download | linux-2aafdf5a5786ebbd8ccfe132ed6267c6962c5c3c.tar.bz2 |
selftests: net: tcp_fastopen_backup_key.sh: fix shellcheck issue
When running tcp_fastopen_backup_key.sh the following issue was seen in
a busybox environment.
./tcp_fastopen_backup_key.sh: line 33: [: -ne: unary operator expected
Shellcheck showed the following issue.
$ shellcheck tools/testing/selftests/net/tcp_fastopen_backup_key.sh
In tools/testing/selftests/net/tcp_fastopen_backup_key.sh line 33:
if [ $val -ne 0 ]; then
^-- SC2086: Double quote to prevent globbing and word splitting.
Rework to do a string comparison instead.
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en/xsk/setup.c')
0 files changed, 0 insertions, 0 deletions