Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1527708pxu; Fri, 27 Nov 2020 09:09:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJzwQh+ZRtjEIfTSwDbcGDUKB8BFspQeTg/qS1qoFkHe3M4+Huz8iOSbJFRBZdneLoG62hRM X-Received: by 2002:a19:88a:: with SMTP id 132mr4322979lfi.316.1606496941995; Fri, 27 Nov 2020 09:09:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606496941; cv=none; d=google.com; s=arc-20160816; b=ANJJ2RN8VdbgC1x96bc1bBvgzSLOti+MXa+yY8I9SKf6i0WvbWe0hpaCo6adtm2AKj W+f9vDZpZ7IX9QGK23o0M0NCnqkFi98+OgYq7q9nREay3InnWzvxWe93AUqA9PjAHJGw FvK+mcnnmBQf93935PTUjZ3+dpRuqfwY0+lXPrDCW+i6wI12oUyIRmjtCHfmVUybz3Y+ G0owFF02xr7uhiiV1fewNd+ipcrLZnTJMNJwPU3Kds55HqVpxWPRMVDePa8A33dzMpeg Bh6bYBjVsm+fYAYchFymtH3YYMd5IPgIVWlTPktLg1Am2jVLppKPeHDnnvhk18xrr3iB rtUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=ApdXLLCo2ftbSslD3CiTtwOwkkM/Xi+DO5JZlq3AnXI=; b=KwF73+0cQ8lUysy9fE7jHxlDIKb6HStIDElHLYntnAyv5GxuIOmjaSrYG2byh8hxpA cCcHGzyg6dpyKLIE8XEMVVNi59yWeSbBgMGA+PhWRppdrRgYetWAy1I9H6dfFsMrdXy7 jJRNR6i41VndgcsrIXhecCRQiwEK5GZHwBjSJMNCKptjNAV8gn05TyPvkJy5/JvkSHiM S5+SosCkI2AbMhrBcsz/2MVgKKIeZXBq92WNCPLO6umqUpTiyRwxreYYzJWaRskMyCxB b4GeeeiwJdSmRtJjp6QrPpApTnMzSvTrKmbVqUsAyjpkN0q2BvRNmnul/ZIkuSyWzZne bbzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@narfation.org header.s=20121 header.b=GXpeoeRh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=narfation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bs5si5649790edb.176.2020.11.27.09.08.39; Fri, 27 Nov 2020 09:09:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@narfation.org header.s=20121 header.b=GXpeoeRh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=narfation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731613AbgK0RGG (ORCPT + 99 others); Fri, 27 Nov 2020 12:06:06 -0500 Received: from dvalin.narfation.org ([213.160.73.56]:49680 "EHLO dvalin.narfation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730985AbgK0RGF (ORCPT ); Fri, 27 Nov 2020 12:06:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=narfation.org; s=20121; t=1606496763; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ApdXLLCo2ftbSslD3CiTtwOwkkM/Xi+DO5JZlq3AnXI=; b=GXpeoeRhdKDRv+PJzx+f0ywR4NFkbgICRjEtuZ7IYO3wPR5MkXMn18Bl+jlMGV9zO19Dr0 hVhz8BDkoldZv1+dWcqoicbkhuIbGzEe4n77if8SVI6g8ZiiZdkUpmsO8QvI7HzEDzpnco NGIVdGM6Fp6ZLhmI3kkbplfAjXV/4x8= From: Sven Eckelmann To: ron minnich Cc: linux-mtd@lists.infradead.org, John Audia , Adrian Schmutzler , jstefek@datto.com, Boris Brezillon , Richard Weinberger , Cyrille Pitchen , lkml - Kernel Mailing List , Marek Vasut , Boris Brezillon , Ron Minnich , Brian Norris , David Woodhouse , Sasha Levin Subject: Re: [PATCH] mtd: parser: cmdline: Support MTD names containing one or more colons Date: Fri, 27 Nov 2020 18:05:55 +0100 Message-ID: <2666350.AiC22s8V5E@sven-edge> In-Reply-To: References: <20200429165347.48909-1-rminnich@google.com> <7171837.EvYhyI6sBW@sven-edge> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1733315.QZUTf85G27"; micalg="pgp-sha512"; protocol="application/pgp-signature" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --nextPart1733315.QZUTf85G27 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii"; protected-headers="v1" From: Sven Eckelmann To: ron minnich Cc: linux-mtd@lists.infradead.org, John Audia , Adrian Schmutzler , jstefek@datto.com, Boris Brezillon , Richard Weinberger , Cyrille Pitchen , lkml - Kernel Mailing List , Marek Vasut , Boris Brezillon , Ron Minnich , Brian Norris , David Woodhouse , Sasha Levin Subject: Re: [PATCH] mtd: parser: cmdline: Support MTD names containing one or more colons Date: Fri, 27 Nov 2020 18:05:55 +0100 Message-ID: <2666350.AiC22s8V5E@sven-edge> In-Reply-To: References: <20200429165347.48909-1-rminnich@google.com> <7171837.EvYhyI6sBW@sven-edge> On Friday, 27 November 2020 17:32:02 CET ron minnich wrote: > I'm a bit worried about how tricky this starts to get. I'm inclined to > go back to an earlier implementation which used a character that had > not yet been used (iirc I used [] around the PCI ID in a very early > version). What if we used, e.g, a single ! and searched for that? It > need not be !; pick a character. Just something not already in use, as > the ambiguity around which ':' delimits the device has become an > issue, as you show. > > Almost nothing in the original patch would change, save the character > being searched for. By using a character we'd never used, we'd avoid > breaking existing usage. What? Doesn't make any sense to me. The mtdparts shown in the the commit message is as it is. I cannot simply change it because it is in the control of the bootloader - not the linux kernel or me. So I can also not introduce a different character like ! for separating things. KInd regards, Sven --nextPart1733315.QZUTf85G27 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEF10rh2Elc9zjMuACXYcKB8Eme0YFAl/BMfQACgkQXYcKB8Em e0ZTIQ//UHqFRKnJ1Uwupj9kBv6+9klmGzPptfBdx8T92GKLoRbmp5VprWR5KByY sKC5q+XdXn7MVfcAZUA8WCwrJBW+yq6FkC8gYdSZkrvm/ZFCsDWXhLwFnmDuAUhJ 103VyP5OnsrKowBYgiGxaV+A/xKRzBMaEuKooTiSk6oUrETXOxKYUl6SGwoOKZ4G faxoMyMFzGdC42SIZIclJqc3Vtg2MGJ6bX+jEJc7NlEFYrGDGKBGfoueYXGV4NUF soqJ7RiftWB/XqtpCsIEKL4viZqMxjkl28pV2UbqrOxsFInvFNpI/Q0uUyXlDV0F EFW3532oNBITOKAY7uBPFxJZMlNscIrD380CUvtNpppAAKyFOkTqhFzbuWrMwwCr 0nCVaOyhageznzkpyZT1AEqx/z3F7xEOx0vBjL4JhTek09cIJp4EP4mGimRujGfK 2BUAYnWYy1+tdBvXVx/mZFZWHb2W+farCUsytJdKH8IiGE5SrwYo2CC2Z+lL8Rut 9jvZRYuozMF0eSo7iDUmAf+jSP35iBvjJGJbNmm9E9b+hQmbYlbBZ+0CPxc087LN L7vh8dV5F8zUf0UAwZPfbRxukvULn5KYXjDlm5VYBGhwhtZFMclCLcBAuk6Ly65M B+Mu56txrHUbWrf1C95ghPfEvM18INnQVrzJzuckQU2V3/MRJ0o= =GJxP -----END PGP SIGNATURE----- --nextPart1733315.QZUTf85G27--