[lkml]   [2014]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 3/20] PCI: fix misspelling of current function in string
On Sun, Dec 07 2014, Julia Lawall <> 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

I just skimmed the rest quickly, but they seem ok.


 \ /
  Last update: 2014-12-07 22:21    [W:0.193 / U:2.680 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site