• Kay Sievers's avatar
    kmsg: add the facility number to the syslog prefix · 43a73a50
    Kay Sievers authored
    After the recent split of facility and level into separate variables,
    we miss the facility value (always 0 for kernel-originated messages)
    in the syslog prefix.
    
    On Tue, Jul 3, 2012 at 12:45 PM, Dan Carpenter <dan.carpenter@oracle.com> wrote:
    > Static checkers complain about the impossible condition here.
    >
    > In 084681d1 ('printk: flush continuation lines immediately to
    > console'), we changed msg->level from being a u16 to being an unsigned
    > 3 bit bitfield.
    
    Cc: Dan Carpenter <dan.carpenter@oracle.com>
    Signed-off-by: default avatarKay Sievers <kay@vrfy.org>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    43a73a50
printk.c 64.8 KB