Chen Zhou 03a1b56f50 sparc: use scnprintf() in show_pciobppath_attr() in pci.c
snprintf() returns the number of bytes that would be written,
which may be greater than the the actual length to be written.

show_pciobppath_attr() should return the number of bytes printed
into the buffer. This is the return value of scnprintf().

Signed-off-by: Chen Zhou <chenzhou10@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-05-13 15:35:58 -07:00
..
2020-04-23 16:41:26 +09:00
2020-04-11 11:38:44 -07:00
2020-04-26 10:54:55 -07:00
2020-04-29 09:25:32 -07:00
2020-04-24 10:39:32 -07:00
2020-04-04 10:12:47 -07:00