]> 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)
commit43ce4e7cea5572925f0b46fbb7756aa7b43ffaf3
tree4e1dc35a1ef81935927290342fd944f11f283c21
parent2532f802fed213bd88d77e650639b83be50586a1
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