From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 12 Sep 2017 17:33:44 -0400 Subject: [U-Boot] [U-Boot, v2, 1/1] checkpatch: update from Linux v4.13-rc6 In-Reply-To: <20170912075745.31643-1-xypron.glpk@gmx.de> References: <20170912075745.31643-1-xypron.glpk@gmx.de> Message-ID: <20170912213344.GC4474@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Sep 12, 2017 at 09:57:45AM +0200, Heinrich Schuchardt wrote: > Checkpatch produces the following warning: > > Unescaped left brace in regex is deprecated here > (and will be fatal in Perl 5.30), passed through in regex; > marked by <-- HERE in m/^(\+.*(?:do|\))){ <-- HERE / > at scripts/checkpatch.pl line 3348. > > The curent checkpatch of the Linux kernel corrects this > bug and many others. > > It provides improved colored output. > > So replace checkpatch by the current Linux version. > > Add an empty file scripts/const_structs.checkpatch. > We can later fill it according to our needs. > > Signed-off-by: Heinrich Schuchardt This drops the changes we have from f503cc49a570 which I think at this point are the only changes we have, and also that (at the time) upstream was uninterested in. The quick way to be sure here would be to diff 6b9709d91488993a8d7945995778cc63a24065ef's checkpatch.pl with v3.14-rc4's version. Thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: