diff options
author | 2022-09-08 15:20:23 +0300 | |
---|---|---|
committer | 2022-09-16 10:56:08 +0100 | |
commit | 7187440dd7c45fd8b6dd4f3ff56b03ca4aa1bbd2 (patch) | |
tree | 5ac4c67741788663cfaee7c45a169241451dc5a0 /drivers/net/dsa/microchip/ksz_common.c | |
parent | Merge branch 'net-amd-static-checker-warnings' (diff) | |
download | linux-dev-7187440dd7c45fd8b6dd4f3ff56b03ca4aa1bbd2.tar.xz linux-dev-7187440dd7c45fd8b6dd4f3ff56b03ca4aa1bbd2.zip |
iov_iter: use "maxpages" parameter
This was intended to be "maxpages" instead of INT_MAX. There is only
one caller and it passes INT_MAX so this does not affect runtime.
Fixes: b93235e68921 ("tls: cap the output scatter list to something reasonable")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/microchip/ksz_common.c')
0 files changed, 0 insertions, 0 deletions