mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 19:13:47 +02: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:
commit
0dfcabe9c6
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user