mirror of
https://github.com/torvalds/linux.git
synced 2026-11-20 13:03:48 +00:00
strcpy() is deprecated; use the new helper function kdb_strdup_dequote() instead. In addition to string duplication similar to kdb_strdup(), it also trims surrounding quotes from the input string if present. kdb_strdup_dequote() also checks for a trailing quote in the input string which was previously not checked. Link: https://github.com/KSPP/linux/issues/88 Reviewed-by: Douglas Anderson <[email protected]> Signed-off-by: Thorsten Blum <[email protected]> Signed-off-by: Daniel Thompson (RISCstar) <[email protected]>