[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <alpine.LFD.2.00.0912261440290.4089@localhost.localdomain>
Date: Sat, 26 Dec 2009 14:42:02 -0500 (EST)
From: Len Brown <lenb@...nel.org>
To: Carlos Corbacho <carlos@...angeworlds.co.uk>
Cc: Larry Finger <Larry.Finger@...inger.net>,
Matthew Garrett <mjg@...hat.com>,
LKML <linux-kernel@...r.kernel.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Linux ACPI <linux-acpi@...r.kernel.org>
Subject: Re: [PATCH] ACPI: WMI: Handle duplicate GUIDs
applied to acpi-test, after satisfying checkpatch's brace-foo below.
thanks,
Len Brown, Intel Open Source Technology Center
ERROR: open brace '{' following function declarations go on the next line
#34: FILE: drivers/platform/x86/wmi.c:719:
+static bool guid_already_parsed(const char *guid_string) {
WARNING: braces {} are not necessary for single statement blocks
#43: FILE: drivers/platform/x86/wmi.c:728:
+ if (strncmp(gblock->guid, guid_string, 16) == 0) {
+ return true;
+ }
total: 1 errors, 1 warnings, 48 lines checked
--
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