diff options
| author | Pranav Tyagi <pranav.tyagi03@gmail.com> | 2025-07-04 13:12:50 +0300 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2025-07-24 18:30:14 +0300 |
| commit | f4a3f01e8e451fb3cb444a95a59964f4bc746902 (patch) | |
| tree | 010bd9c34153e3c15b722dcc9f201e37ccaa735b /scripts/gdb/linux/utils.py | |
| parent | 8c10b04f9fc1760cb79068073686d8866e59d40f (diff) | |
| download | linux-f4a3f01e8e451fb3cb444a95a59964f4bc746902.tar.xz | |
fs/xfs: replace strncpy with memtostr_pad()
Replace the deprecated strncpy() with memtostr_pad(). This also avoids
the need for separate zeroing using memset(). Mark sb_fname buffer with
__nonstring as its size is XFSLABEL_MAX and so no terminating NULL for
sb_fname.
Signed-off-by: Pranav Tyagi <pranav.tyagi03@gmail.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
