mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 00:21:17 +00: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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue