]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm/ptdump: Wrap seq_printf() to handle NULL pointers
authorRussell Currey <ruscur@russell.cc>
Thu, 2 May 2019 07:39:46 +0000 (17:39 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 2 May 2019 15:58:11 +0000 (01:58 +1000)
commit0ce33289d9649c8ea23184481cd2bb4b44034207
treea7a10c98da7bcec17e83ab9b560a07cfd11c13d7
parent4070174359a0be1c0d6aede458f5696b38d17816
powerpc/mm/ptdump: Wrap seq_printf() to handle NULL pointers

Lovingly borrowed from the arch/arm64 ptdump code.

This doesn't seem to be an issue in practice, but is necessary for my
upcoming commit.

Signed-off-by: Russell Currey <ruscur@russell.cc>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/ptdump/ptdump.c