Re: [PATCH] PCI: endpoint: Use sysfs_emit() in "show" functions

From: Krzysztof Wilczyński
Date: Mon Jul 19 2021 - 11:44:44 EST


[+cc Sasha for visibility]

Hi!

[...]
> > Nice catch!
>
> I actually executed "cat" against configfs to meet the issue and found
> your solution in pci-sysfs.

Oh! That's not good... I am curious, which attribute caused this?

Also, if this is fixing a bug, then it might warrant letting the folks who look
after the long-term and stable kernels know. I also wonder if there would be
something to add for the "Fixes:" tag, if there is a previous commit this
change fixes.

Krzysztof