diff options
| author | Ajay Singh <ajay.kathat@microchip.com> | 2020-07-10 05:18:30 +0000 |
|---|---|---|
| committer | Kalle Valo <kvalo@codeaurora.org> | 2020-07-14 20:52:23 +0300 |
| commit | 1b3dd7743041c88d11409c05a7d294f63ef53e44 (patch) | |
| tree | c9492419a89ab3937cd426cb36f2aef56368778f /scripts/const_structs.checkpatch | |
| parent | 4f5479e2ee1fc75b7c98e1e6da0dada41778618d (diff) | |
| download | cachepc-linux-1b3dd7743041c88d11409c05a7d294f63ef53e44.tar.gz cachepc-linux-1b3dd7743041c88d11409c05a7d294f63ef53e44.zip | |
wilc1000: use strlcpy to avoid 'stringop-truncation' warning
Make use 'strlcpy' instead of 'strncpy' to overcome 'stringop-truncation'
compiler warning.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200710051826.3267-3-ajay.kathat@microchip.com
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
