On Tue, 2014-04-15 at 20:55 +0200, Fabian Frederick wrote:

> diff --git a/drivers/pci/pci-stub.c b/drivers/pci/pci-stub.c
[]
> @@ -15,7 +15,7 @@
>   * # ls -l /sys/bus/pci/devices/0000:00:19.0/driver
>   * .../0000:00:19.0/driver -> ../../../bus/pci/drivers/pci-stub
>   */
> -
> +#define pr_fmt(fmt) "pci-stub: " fmt

When the output prefix matches the module/filename, please use

#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

[]

> diff --git a/drivers/pci/pci-sysfs.c b/drivers/pci/pci-sysfs.c
[]
> @@ -903,8 +903,8 @@ legacy_io_err:
>       kfree(b->legacy_io);
>       b->legacy_io = NULL;
>  kzalloc_err:
> -     printk(KERN_WARNING "pci: warning: could not create legacy I/O port "
> -            "and ISA memory resources to sysfs\n");
> +     pr_warn("warning: could not create legacy I/O port "
> +             "and ISA memory resources to sysfs\n");

Please coalesce format fragments too even if the format part
exceeds 80 columns.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to