• T
    [PATCH] Driver core: add macros notice(), dev_notice() · 4f2928d0
    Tilman Schmidt 提交于
    Both usb.h and device.h have collections of convenience macros for
    printk() with the KERN_ERR, KERN_WARNING, and KERN_NOTICE severity
    levels. This patch adds macros for the KERN_NOTICE level which was
    so far uncatered for.
    
    These macros already exist privately in drivers/isdn/gigaset/gigaset.h
    (currently in the process of being submitted for the kernel tree)
    but they really belong with their brothers and sisters in
    include/linux/{device,usb}.h.
    Signed-off-by: NTilman Schmidt <tilman@imap.cc>
    Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
    4f2928d0
device.h 13.9 KB