[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131118114528.GJ17929@book.gsilab.sittig.org>
Date: Mon, 18 Nov 2013 12:45:28 +0100
From: Gerhard Sittig <gsi@...x.de>
To: linux-kernel@...r.kernel.org
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Joe Perches <joe@...ches.com>
Subject: checkpatch.pl "Use of uninitialized value" warnings
Please tell me when the Cc: list is inappropriate, it appears
that get_maintainer.pl does not know of a maintainer for the
checkpatch.pl script, but lists you as the most active
committers.
Execution of the checkpatch.pl script (v3.12 kernel tree) emitted
the following messages when fed with the attached patch.
Use of uninitialized value $c in pattern match (m//) at ./scripts/checkpatch.pl line 3280.
Use of uninitialized value in substr at ./scripts/checkpatch.pl line 3287.
Use of uninitialized value $s in substr at ./scripts/checkpatch.pl line 3287.
total: 0 errors, 0 warnings, 0 checks, 185 lines checked
The patch is not inlined, to keep its formatting in verbatim
form, and was sent to the linuxppc-dev@...ts.ozlabs.org and
linux-arm-kernel@...ts.infradead.org mailing lists with
Message-ID <1384729577-7336-6-git-send-email-gsi@...x.de> on
Mon, 18 Nov 2013 00:06:05 +0100 if that's easier to lookup or in
case the attachment won't pass email filters).
The offending part of the code appears to be the NODE_CHK() macro
spanning lines 68 to 82 of the patch, while the FOR_NODES() and
PREP_NODE() macros don't have issues.
What can I do to help diagnose and fix the warnings?
virtually yours
Gerhard Sittig
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr. 5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office@...x.de
View attachment "0005-clk-mpc512x-add-backwards-compat-to-the-CCF-code.patch" of type "text/x-diff" (6726 bytes)
Powered by blists - more mailing lists