]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
PCI/ASPM: Add missing newline in sysfs 'policy'
authorXiongfeng Wang <wangxiongfeng2@huawei.com>
Fri, 17 Jul 2020 07:59:25 +0000 (15:59 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Aug 2020 08:53:01 +0000 (10:53 +0200)
commitc8a4fedd7cd1bf3c9314c87c41f5e89f1af16e37
treeadaa66b2ad8c66956bebdb3e5db51179bece63ed
parent889f541815a55db7f47829e8f0e8a2d88f6c11bb
PCI/ASPM: Add missing newline in sysfs 'policy'

[ Upstream commit 3167e3d340c092fd47924bc4d23117a3074ef9a9 ]

When I cat ASPM parameter 'policy' by sysfs, it displays as follows.  Add a
newline for easy reading.  Other sysfs attributes already include a
newline.

  [root@localhost ~]# cat /sys/module/pcie_aspm/parameters/policy
  [default] performance powersave powersupersave [root@localhost ~]#

Fixes: 7d715a6c1ae5 ("PCI: add PCI Express ASPM support")
Link: https://lore.kernel.org/r/1594972765-10404-1-git-send-email-wangxiongfeng2@huawei.com
Signed-off-by: Xiongfeng Wang <wangxiongfeng2@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pci/pcie/aspm.c