From: Konrad Rzeszutek Wilk on
> +static int platform_pci_resume(struct pci_dev *pdev)
> +{
> + int err;
> + if (xen_have_vector_callback)
> + return 0;
> + err = xen_set_callback_via(callback_via);
> + if (err) {
> + printk("platform_pci_resume failure!\n");

How did you scripts/checkpatch.pl --strict let you do that?
You might want to use dev_err instead.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Stefano Stabellini on
On Mon, 14 Jun 2010, Konrad Rzeszutek Wilk wrote:
> > +static int platform_pci_resume(struct pci_dev *pdev)
> > +{
> > + int err;
> > + if (xen_have_vector_callback)
> > + return 0;
> > + err = xen_set_callback_via(callback_via);
> > + if (err) {
> > + printk("platform_pci_resume failure!\n");
>
> How did you scripts/checkpatch.pl --strict let you do that?
> You might want to use dev_err instead.
>

I'll do that and re-run checkpatch.pl on the whole series

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