[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.02.1412072143170.2235@localhost6.localdomain6>
Date: Sun, 7 Dec 2014 21:43:33 +0100 (CET)
From: Julia Lawall <julia.lawall@...6.fr>
To: Rasmus Villemoes <linux@...musvillemoes.dk>
cc: Bjorn Helgaas <bhelgaas@...gle.com>,
kernel-janitors@...r.kernel.org, joe@...ches.com,
linux-pci@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/20] PCI: fix misspelling of current function in
string
On Sun, 7 Dec 2014, Rasmus Villemoes wrote:
> On Sun, Dec 07 2014, Julia Lawall <Julia.Lawall@...6.fr> wrote:
>
> > Replace a misspelled function name by %s and then __func__.
> >
> > The function name begins with pci, not cpci.
> ...
> > result = cpci_hotplug_init(debug);
> > if (result) {
> > - err("cpci_hotplug_init with error %d\n", result);
> > + err("%s with error %d\n", __func__, result);
> > return result;
> > }
>
> This one seems to be a false positive; I think the err() is reporting on
> the result from the call of the function which is indeed called
> cpci_hotplug_init.
Agreed. Thanks.
julia
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists