aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorLogan Gunthorpe <[email protected]>2019-08-22 10:10:13 -0600
committerBjorn Helgaas <[email protected]>2019-09-05 16:47:30 -0500
commite499081da1a247a8a5a234211c7127fb0b91ca92 (patch)
treec9d1a45ef6093df6123020fb2b4b21dd3f9f867f /net/lapb/lapb_in.c
parent273b177cac4b649c3c6d448e85bbc64cebfe7a0a (diff)
PCI: Force trailing new line to resource_alignment_param in sysfs
When 'pci=resource_alignment=' is specified on the command line, there is no trailing new line. Then, when it's read through the corresponding sysfs attribute, there will be no newline and a cat command will not show correctly in a shell. If the parameter is set through sysfs a new line will be stored and it will 'cat' correctly. To solve this, append a new line character in the show function if one does not already exist. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Logan Gunthorpe <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions