diff options
| author | Chen Zhou <[email protected]> | 2020-01-20 12:49:43 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-01-21 09:48:17 +0000 |
| commit | 49e211c0e357d8c5ccdc3c6c5fb8f94ab85d037f (patch) | |
| tree | 607cf2d8871be593e4f8122170d708945ac3e72e /net/unix/af_unix.c | |
| parent | Merge tag 'rds-odp-for-5.5' of https://git.kernel.org/pub/scm/linux/kernel/gi... (diff) | |
| download | kernel-49e211c0e357d8c5ccdc3c6c5fb8f94ab85d037f.tar.gz kernel-49e211c0e357d8c5ccdc3c6c5fb8f94ab85d037f.zip | |
net: hns3: replace snprintf with scnprintf in hns3_dbg_cmd_read
The return value of snprintf may be greater than the size of
HNS3_DBG_READ_LEN, use scnprintf instead in hns3_dbg_cmd_read.
Signed-off-by: Chen Zhou <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
