OSDN Git Service

printk: Correct wrong casting
authorHe Zhe <zhe.he@windriver.com>
Sat, 29 Sep 2018 16:45:51 +0000 (00:45 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 Nov 2019 07:20:24 +0000 (08:20 +0100)
commit799c98cba0713ddd91697a2a8fc1d551fb22101a
treeb6a74a67095339984e5eb0254d8bcb44a43165f2
parente7ff1141b60cc2f852621035a1da95e89341911f
printk: Correct wrong casting

[ Upstream commit 51a72ab7372d85c96104e58036f1b49ba11e5d2b ]

log_first_seq and console_seq are 64-bit unsigned integers.
Correct a wrong casting that might cut off the output.

Link: http://lkml.kernel.org/r/1538239553-81805-2-git-send-email-zhe.he@windriver.com
Cc: rostedt@goodmis.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: He Zhe <zhe.he@windriver.com>
[sergey.senozhatsky@gmail.com: More descriptive commit message]
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
kernel/printk/printk.c