Skip to content

Commit 0dfcabe

Browse files
committed
Merge branch 'pci/aspm'
- Add newline to ASPM sysfs "policy" file (Xiongfeng Wang) * pci/aspm: PCI/ASPM: Add missing newline in sysfs 'policy'
2 parents b3a9e3b + 3167e3d commit 0dfcabe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/pci/pcie/aspm.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1182,6 +1182,7 @@ static int pcie_aspm_get_policy(char *buffer, const struct kernel_param *kp)
11821182
cnt += sprintf(buffer + cnt, "[%s] ", policy_str[i]);
11831183
else
11841184
cnt += sprintf(buffer + cnt, "%s ", policy_str[i]);
1185+
cnt += sprintf(buffer + cnt, "\n");
11851186
return cnt;
11861187
}
11871188

0 commit comments

Comments
 (0)