summaryrefslogtreecommitdiffstats
path: root/drivers/dio
diff options
context:
space:
mode:
authorHugh Dickins2018-05-25 23:47:50 +0200
committerLinus Torvalds2018-05-26 03:12:11 +0200
commit6c04ab0eddc9a38e6c14ae4b6217db1e34436b8c (patch)
treeb212e57df1c838d3d33598bf6f5908e4e36c7a6e /drivers/dio
parentmm: do not warn on offline nodes unless the specific node is explicitly reque... (diff)
downloadkernel-qcow2-linux-6c04ab0eddc9a38e6c14ae4b6217db1e34436b8c.tar.gz
kernel-qcow2-linux-6c04ab0eddc9a38e6c14ae4b6217db1e34436b8c.tar.xz
kernel-qcow2-linux-6c04ab0eddc9a38e6c14ae4b6217db1e34436b8c.zip
proc: fix smaps and meminfo alignment
The 4.17-rc /proc/meminfo and /proc/<pid>/smaps look ugly: single-digit numbers (commonly 0) are misaligned. Remove seq_put_decimal_ull_width()'s leftover optimization for single digits: it's wrong now that num_to_str() takes care of the width. Link: http://lkml.kernel.org/r/alpine.LSU.2.11.1805241554210.1326@eggly.anvils Fixes: d1be35cb6f96 ("proc: add seq_put_decimal_ull_width to speed up /proc/pid/smaps") Signed-off-by: Hugh Dickins <hughd@google.com> Cc: Andrei Vagin <avagin@openvz.org> Cc: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/dio')
0 files changed, 0 insertions, 0 deletions