]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
printk: Correct wrong casting
authorHe Zhe <zhe.he@windriver.com>
Sat, 29 Sep 2018 16:45:51 +0000 (00:45 +0800)
committerPetr Mladek <pmladek@suse.com>
Fri, 5 Oct 2018 13:02:35 +0000 (15:02 +0200)
commit51a72ab7372d85c96104e58036f1b49ba11e5d2b
tree9275d4abaa2ef2ab6d9bea89750d35336ba9cc3d
parent277fcdb2cfee38ccdbe07e705dbd4896ba0c9930
printk: Correct wrong casting

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>
kernel/printk/printk.c