From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cTkx0-00069K-Lk for barebox@lists.infradead.org; Wed, 18 Jan 2017 07:46:36 +0000 Date: Wed, 18 Jan 2017 08:46:05 +0100 From: Sascha Hauer Message-ID: <20170118074605.xsazeyfyhtfxmuw7@pengutronix.de> References: <20170111200757.x33vfb4sdrsu4kmk@pengutronix.de> <20170116073652.b7vrnj2k6u3jejmt@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: scripts/checkpatch.pl is deprecated To: Vicente Bergas Cc: barebox@lists.infradead.org, Ian Abbott , Uwe =?iso-8859-15?Q?Kleine-K=F6nig?= On Mon, Jan 16, 2017 at 06:34:19PM +0100, Vicente Bergas wrote: > On Mon, Jan 16, 2017 at 8:36 AM, Sascha Hauer wr= ote: > > On Sun, Jan 15, 2017 at 08:42:42PM +0100, Vicente Bergas wrote: > >> On Thu, Jan 12, 2017 at 11:27 AM, Ian Abbott wrote: > >> > On 11/01/17 20:07, Uwe Kleine-K=F6nig wrote: > >> >> > >> >> On Wed, Jan 11, 2017 at 08:35:11PM +0100, Vicente Bergas wrote: > >> >>> > >> >>> Hello, > >> >>> when using scripts/checkpatch.pl it may report: > >> >>> Unescaped left brace in regex is deprecated, > >> >>> passed through in regex at scripts/checkpatch.pl line 2267. > >> >> > >> >> > >> >> I bet this scripts originates from the kernel. So I'd recommend to = test > >> >> if their version is affected to. If yes, report to them, if not, up= date > >> >> barebox to latest Linux version. > >> > > >> > > >> > In the Linux kernel, this was fixed in commit > >> > 6b8c69e4384b0bcf1936c2137804840212daaf69 ("checkpatch: fix another l= eft > >> > brace warning"), which made it into the the 4.6 kernel. > >> > >> This commit applies as is in barebox, so, can it be applied? > >> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/= ?id=3D6b8c69e4384b0bcf1936c2137804840212daaf69 > > > > Yes. Can you send this as patch to the list? > = > Why does it need to be in the list? can not it be applied directly? Could be, but I am lazy ;) Anyway, in this case it was easy enough to wget/git-am the patch. Just did that. Sascha -- = Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox