From: Wolfgang Denk Date: Thu, 07 Jan 2016 00:51:36 +0100 Subject: [U-Boot] [PATCH] checkpatch: fix left brace warning In-Reply-To: <1451895439-20798-1-git-send-email-hs@denx.de> References: <1451895439-20798-1-git-send-email-hs@denx.de> Message-ID: <20160106235136.9AB9C38226F@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Heiko Schocher, In message <1451895439-20798-1-git-send-email-hs@denx.de> you wrote: > using checkpatch with Perl 5.22.0 generates a warning, > this is fixed in linux through commit: > > commit 4e5d56bdf892e18832a6540b63ebf709966bce2a > Author: Eddie Kovsky > Date: Wed Sep 9 15:37:52 2015 -0700 > > checkpatch: fix left brace warning > > Using checkpatch.pl with Perl 5.22.0 generates the following warning: > > Unescaped left brace in regex is deprecated, passed through in regex; > > This patch fixes the warnings by escaping occurrences of the left brace > inside the regular expression. > > Adapt it for U-Boot. > > Signed-off-by: Heiko Schocher > --- > > scripts/checkpatch.pl | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) Acked-by: Wolfgang Denk