From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A518EC43334 for ; Mon, 27 Jun 2022 17:17:56 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 697CA843E3; Mon, 27 Jun 2022 19:17:36 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="bHhNk6z3"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7DB258438D; Mon, 27 Jun 2022 19:17:33 +0200 (CEST) Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id A38FE8438D for ; Mon, 27 Jun 2022 19:17:30 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x734.google.com with SMTP id k10so7323726qke.9 for ; Mon, 27 Jun 2022 10:17:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=++gtjyAlq9AWJX50z9svfzoLLDLXEwLkEsJU1SojYh0=; b=bHhNk6z3f5HV9uIZfb5ywFMHcnBXOH3JJm15YyrYh51Kk4mr1fLNB4D044lsnKfytL yezo1vYXzMICHgM8YCZ3WQbOb7yQ/M3Jrguei7jn72arWOW2YW/C9ZMPLeU88BhAVm0Y 5ZqJey6ZTrd2h2Qn4/zubbDmER/rV3xEs7Mew= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=++gtjyAlq9AWJX50z9svfzoLLDLXEwLkEsJU1SojYh0=; b=1yA7uRzi214TkKgVrPOFv0yz+vROJE8JjzYMyq5x9LKgUWqimu3O0JlKO3qOy0PzXJ 63iVKFto16UmFlIJQhXMAezdcG1uXWjM81lsfR4P0NXjLIm416QVWZoVrpQlvxPFftl6 mL9oKsgM4V4Qe0nYJdGH8J1vwnfoo4hpN3y0oCuewIjviIRLHApt0xM1O2SlOHHCKALJ x4kT9FMu3vjC+AQn0IjbEbHILKnLntHY2DM+PEWdp8MdjiUcOcE7dsOUlPkeFMpcuCd8 IWfgNPM7SE9m3n3WqNHziCZDmW6AAXF14WL7upiAwlxpjT0ytLdDiSSYImsTWl9CexaJ fvyg== X-Gm-Message-State: AJIora8kR44eaXrSz+ts586nk0bNOHUv75BCQtGidmfo7QLu61OtEG69 2MOpoTdIl6BreRiuaqqCmyIAgSv/HZ0ZhA== X-Google-Smtp-Source: AGRyM1v2kej5e6eyX5Oxl496AykhNogj0gRrRWDXMxejpUCN41ZihDCtcsvBFNDxj9mukoSyM9xYUQ== X-Received: by 2002:a05:620a:258c:b0:6ab:8296:a288 with SMTP id x12-20020a05620a258c00b006ab8296a288mr8613254qko.304.1656350249084; Mon, 27 Jun 2022 10:17:29 -0700 (PDT) Received: from bill-the-cat.lan (cpe-65-184-195-139.ec.res.rr.com. [65.184.195.139]) by smtp.gmail.com with ESMTPSA id t12-20020a05620a450c00b006a746826feesm9524646qkp.120.2022.06.27.10.17.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jun 2022 10:17:28 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 3/4] doc: codingstyle: Remove comment about '//' style comments Date: Mon, 27 Jun 2022 13:17:21 -0400 Message-Id: <20220627171722.1153337-4-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220627171722.1153337-1-trini@konsulko.com> References: <20220627171722.1153337-1-trini@konsulko.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean For some time now we've allowed for '//' style comments, which mirrors the Linux kernel. So drop this point here. Signed-off-by: Tom Rini --- doc/develop/codingstyle.rst | 5 ----- 1 file changed, 5 deletions(-) diff --git a/doc/develop/codingstyle.rst b/doc/develop/codingstyle.rst index a41aed2764fb..bdf1efc6019a 100644 --- a/doc/develop/codingstyle.rst +++ b/doc/develop/codingstyle.rst @@ -29,11 +29,6 @@ The following rules apply: careful consideration, be exempted from these rules. For such files, the original coding style may be kept to ease subsequent migration to newer versions of those sources. -* Please note that U-Boot is implemented in C (and to some small parts in - Assembler); no C++ is used, so please do not use C++ style comments (//) in - your code. - - * The sole exception here is for SPDX tags in some files (checkpatch.pl will warn you). * Please also stick to the following formatting rules: -- 2.25.1