linux/sound/soc/intel/avs
justinstitt@google.com f6500ec12c
ASoC: intel: avs: refactor strncpy usage in topology
`strncpy` is deprecated for use on NUL-terminated destination strings
[1].

A suitable replacement is `strscpy` [2].

There are some hopes that someday the `strncpy` api could be ripped out
due to the vast number of suitable replacements (strscpy, strscpy_pad,
strtomem, strtomem_pad, strlcpy) [1].

[1]: www.kernel.org/doc/html/latest/process/deprecated.html#strncpy-on-nul-terminated-strings
[2]: manpages.debian.org/testing/linux-manual-4.8/strscpy.9.en.html

Link: https://github.com/KSPP/linux/issues/90
Signed-off-by: Justin Stitt <justinstitt@google.com>
Link: https://lore.kernel.org/r/20230725-sound-soc-intel-avs-remove-deprecated-strncpy-v1-1-6357a1f8e9cf@google.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-07-26 12:49:44 +01:00
..
boards ASoC: Intel: avs: rt5682: Tidy up hw_params() 2023-07-09 22:47:23 +01:00
apl.c ASoC: Intel: avs: Access path components under lock 2023-05-22 11:18:21 +01:00
avs.h ASoC: Intel: avs: Fix avs_path_module::instance_id size 2023-05-22 11:18:25 +01:00
board_selection.c ASoC: Intel: avs: Load rt5663 board on KBL-based platforms 2023-07-09 22:47:21 +01:00
cldma.c ASoC: Intel: avs: Replace hardcodes with SD_CTL_STREAM_RESET 2022-07-08 18:53:26 +01:00
cldma.h ASoC: Intel: avs: Implement CLDMA transfer 2022-03-11 16:24:08 +00:00
control.c ASoC: Intel: avs: Fix module lookup 2023-05-22 11:18:20 +01:00
control.h ASoC: Intel: avs: Add control volume operations 2022-12-25 23:32:59 +00:00
core.c ASoC: Intel: avs: Implement PCI shutdown 2023-01-13 12:30:03 +00:00
debugfs.c ASoC: Intel: avs: Allow for dumping debug window snapshot 2022-12-05 14:05:33 +00:00
dsp.c ASoC: Intel: avs: Fix avs_path_module::instance_id size 2023-05-22 11:18:25 +01:00
ipc.c ASoC: Intel: avs: Introduce avs_log_buffer_status_locked() 2022-12-05 14:05:21 +00:00
loader.c ASoC: Intel: avs: Enact power gating policy 2022-10-28 13:04:39 +01:00
Makefile ASoC: Intel: avs: Add control volume operations 2022-12-25 23:32:59 +00:00
messages.c ASoC: Intel: avs: Add peakvol runtime-parameter requests 2022-12-25 23:32:58 +00:00
messages.h ASoC: Intel: avs: Fix declaration of enum avs_channel_config 2023-05-22 11:18:23 +01:00
path.c ASoC: Intel: avs: Use struct_size for struct avs_modcfg_ext size 2023-03-05 23:38:32 +00:00
path.h ASoC: Intel: avs: Fix avs_path_module::instance_id size 2023-05-22 11:18:25 +01:00
pcm.c ASoC: Intel: avs: Add missing checks on FE startup 2023-05-22 11:18:26 +01:00
probes.c ASoC: Intel: avs: Fix avs_path_module::instance_id size 2023-05-22 11:18:25 +01:00
registers.h ASoC: Intel: avs: Allow for dumping debug window snapshot 2022-12-05 14:05:33 +00:00
skl.c ASoC: Intel: avs: Drop usage of debug members in non-debug code 2022-12-05 14:05:25 +00:00
topology.c ASoC: intel: avs: refactor strncpy usage in topology 2023-07-26 12:49:44 +01:00
topology.h ASoC: Intel: avs: Parse control tuples 2022-12-25 23:33:03 +00:00
trace.c ASoC: Intel: avs: Use min_t instead of min with cast 2023-01-13 12:30:29 +00:00
trace.h ASoC: Intel: avs: Event tracing 2022-05-17 11:58:01 +01:00
utils.c ASoC: Intel: avs: Drop usage of debug members in non-debug code 2022-12-05 14:05:25 +00:00