We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b90cb10 commit bd8092dCopy full SHA for bd8092d
include/linux/suspend.h
@@ -75,7 +75,7 @@ extern struct suspend_stats suspend_stats;
75
76
static inline void dpm_save_failed_dev(const char *name)
77
{
78
- strlcpy(suspend_stats.failed_devs[suspend_stats.last_failed_dev],
+ strscpy(suspend_stats.failed_devs[suspend_stats.last_failed_dev],
79
name,
80
sizeof(suspend_stats.failed_devs[0]));
81
suspend_stats.last_failed_dev++;
0 commit comments