]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/4xx: Combine four seq_printf() calls into two in ocm_debugfs_show()
authorMarkus Elfring <elfring@users.sourceforge.net>
Thu, 11 Jan 2018 17:08:08 +0000 (18:08 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 21 Dec 2018 00:32:49 +0000 (11:32 +1100)
commit7a5f2d3718f9d2115041862a00687a5b89a91e29
tree4e1dc35a1ef81935927290342fd944f11f283c21
parent99648986ce0625f4fd12f5ee579ddfda6185c028
powerpc/4xx: Combine four seq_printf() calls into two in ocm_debugfs_show()

Some data were printed into a sequence by four separate function calls.
Print the same data by two single function calls instead.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/4xx/ocm.c