Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp454209rdh; Thu, 26 Oct 2023 06:56:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF+YPqpm3FBAtQEzO6bX7PCbTzemVnHK27pGkktop6K72YouLTclX8ztIusXqyPJxilmyZG X-Received: by 2002:a54:4893:0:b0:3b2:e70e:b448 with SMTP id r19-20020a544893000000b003b2e70eb448mr21741148oic.8.1698328585578; Thu, 26 Oct 2023 06:56:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698328585; cv=none; d=google.com; s=arc-20160816; b=G3AF3Qp2vQ1Oatv93eeIH0R+b+2mgGtyraSWa0HoQhl/qNGWgsKA0WStqX9RSccw4b jH4s94jS3tQMzK5mCIbLfdrrTd26weuIxm9xKY7ivVWsER+irSJ7tlj2BzwF+sk1r1MI ir6ZTjVmhOrdFhDzpqAIh+9yJMopYzaaDpCCgj9fM7pJkxJChCsu4Gq8Ki8CFbLsQvD2 xfVw8Ory2N1itDE9guBOfyetVdHyNlmI5FekfRZjTQruMV3j8PgPqIxcdQ4dC1L8K52o 3ExxsJypXm7Utu131FS97NUax/X3icya6Dc+JLHDZHHwnpHWbPgE+eHad8PXmj3A1ftF edng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=GLRzjcLGvLFKg3TIECEJpAXZhDvfif8eCJiKtFah4Ew=; fh=cyj2vRHLdhPAH9NolBx6JBOhyGPRUdrjME1ZgXhtUrc=; b=rs/JMq8i6Ne0VsdlykCMRuK4OjO8RDnERMbDgPU+50taSXj7f0kbrx7N0oZbLdy0wT CZrKEahZLw0NLW54XKPTqxs0PLZTPHXdICxmHO7QMQTRLhayHUQSsKZCK+7wX7YnBdWr Y9gPpQMdr8dpTZrhsyvJe7H92DhiDoYVmCEw1LBYSDUfx1L5E/2ECrPlDuDcAuBGsExe j8XFgcIT3eOqqbGOJaEDDyXLIoUXp7DEKlTc8BWVi3AvhNjIZkP73LUOkZ8pSy5Kcqvf Zy3KrUNq99Xs+5EOZNEmTncJ+Ej9cSDODCeiZoFU4r3ak2rO+epFLQuZ+2imb+/9rnaH L9bQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id g137-20020a25db8f000000b00d13fb2858ecsi14393516ybf.428.2023.10.26.06.56.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 06:56:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 29972812D234; Thu, 26 Oct 2023 06:55:54 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235056AbjJZNzp (ORCPT + 99 others); Thu, 26 Oct 2023 09:55:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234789AbjJZNzk (ORCPT ); Thu, 26 Oct 2023 09:55:40 -0400 Received: from xavier.telenet-ops.be (xavier.telenet-ops.be [IPv6:2a02:1800:120:4::f00:14]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C182D4D for ; Thu, 26 Oct 2023 06:55:36 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:32d3:3cb9:edce:43ae]) by xavier.telenet-ops.be with bizsmtp id 2dva2B0082XL1Wb01dvaKi; Thu, 26 Oct 2023 15:55:34 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qw0pa-007YxJ-1x; Thu, 26 Oct 2023 15:55:34 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qw0ph-00HArs-VU; Thu, 26 Oct 2023 15:55:33 +0200 From: Geert Uytterhoeven To: Rob Herring , Frank Rowand Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 0/2] scripts: dt_to_config: Fix nul-separated compatible values Date: Thu, 26 Oct 2023 15:55:30 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 26 Oct 2023 06:55:54 -0700 (PDT) Hi all, Due to a not-so-recent change in dtc, the dt_to_config script no longer works well when used on a DTB instead of on a DTS file. The first patch fixes that, the second patch fixes the rather odd spacing in that script. To not hamper backporting the fix, I put the reformatting patch last. Thanks for your comments! P.S. Apparently I had fixed the similar issue in my own out-of-tree linux-config-from-dt script in a slightly different way. https://github.com/geertu/linux-scripts/commit/56ade26c032c45e9353334384643d190d34b89fb Geert Uytterhoeven (2): scripts: dt_to_config: Fix nul-separated compatible values scripts: dt_to_config: Fix odd formatting scripts/dtc/dt_to_config | 1765 +++++++++++++++++++------------------- 1 file changed, 879 insertions(+), 886 deletions(-) -- 2.34.1 Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds