diff options
author | Chen Zhou <[email protected]> | 2020-05-09 17:18:48 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-05-13 15:35:58 -0700 |
commit | 03a1b56f501ef4f8c54cb89a5f5ed7cc9ccac38f (patch) | |
tree | 1eb6264d1cdcabb6738cadb35c46f67985505390 /drivers/media/platform/vimc | |
parent | 9ef391bdc29f0570c2be578210e220d15ea7a453 (diff) |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/media/platform/vimc')
0 files changed, 0 insertions, 0 deletions