]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
printk: Correct wrong casting
authorHe Zhe <zhe.he@windriver.com>
Sat, 29 Sep 2018 16:45:51 +0000 (00:45 +0800)
committerKhalid Elmously <khalid.elmously@canonical.com>
Thu, 28 Nov 2019 04:59:27 +0000 (23:59 -0500)
commit43645097398469061fec509873df778d2d67ddac
tree55e3a29ad08b23a81a63f9a3a8003a2efbbf8daf
parent756319e0cfaae0785a8b2cc819d21b752a9740fd
printk: Correct wrong casting

BugLink: https://bugs.launchpad.net/bugs/1854216
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
kernel/printk/printk.c