mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 14:56:54 -04:00
Merge branch 'pci/aspm'
- Add newline to ASPM sysfs "policy" file (Xiongfeng Wang) * pci/aspm: PCI/ASPM: Add missing newline in sysfs 'policy'
This commit is contained in:
@@ -1182,6 +1182,7 @@ static int pcie_aspm_get_policy(char *buffer, const struct kernel_param *kp)
|
||||
cnt += sprintf(buffer + cnt, "[%s] ", policy_str[i]);
|
||||
else
|
||||
cnt += sprintf(buffer + cnt, "%s ", policy_str[i]);
|
||||
cnt += sprintf(buffer + cnt, "\n");
|
||||
return cnt;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user