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 6C4B6C433EF for ; Thu, 14 Jul 2022 12:08:30 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 242A8840C3; Thu, 14 Jul 2022 14:08:11 +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="OwRUvV9m"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 86725840BE; Thu, 14 Jul 2022 14:07:59 +0200 (CEST) Received: from mail-qt1-x82c.google.com (mail-qt1-x82c.google.com [IPv6:2607:f8b0:4864:20::82c]) (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 3A96A8407F for ; Thu, 14 Jul 2022 14:07:52 +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-qt1-x82c.google.com with SMTP id j27so1214383qtv.4 for ; Thu, 14 Jul 2022 05:07:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jD5o9Id6UIsdbhBjs6p1YpwNRLP7m+myTs5IplxEn8U=; b=OwRUvV9mFaPJRjzStZ5Qh8P2eBtwG/ekRNNS0Wes71pMMusqROmkvCe0zyc0SxaZ8Y v8nG/iS0ztZsldasow6aMwMt4WpbopWJFmmAAwqvS5s+JlGJtNbgiDHguDhi4wnLGtjN +MnF+MRDxKSBM6ay6acd8lvOdr2+nBTcuRyek= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jD5o9Id6UIsdbhBjs6p1YpwNRLP7m+myTs5IplxEn8U=; b=nBKULXEGmOS3YrXh2g8p225BzCPmfk+A7yJuvY/CXUKTDHS+gMTIkM5Yf2kHaKeGcz axX+Idfv/ME8Piw4YWayNQ2eqsA/ZRdgtrUC75yNIH8TyfGHzljwXhN8BBpk7CtFHqrt YQTg0CsLgREREJjNdhNgOg6KOhphGdvy3NAYl46juDXtoiwmQecMjgvVE7Q18brgT5oG vU/sp0touc9OVSVXHWeURPAjCo7HaqT80Hu30Us2olZHCoVl5KuCbo1s2krot1E01i0L +Fzs/riHCbG2LDgijfXJ2SSw8zm/JsN/CZFhCp/1/Nyt3nYWnjgSt9fHt+/+BYCnM1t7 1mFw== X-Gm-Message-State: AJIora8KA5MWs+lwJvgbT8rZkkcpgbls8/eT4d3b0/qTkvGxgsmHTNx5 kUDxlEtnMmEVQ343DA1sugn3ZjzZvtfFhQ== X-Google-Smtp-Source: AGRyM1tSn+cdSjAitBlti8wg06SMOiS5DPnaD35Yn3Mdx5ld25lZWPXjHKEqGmmzN1pTMia41RxO+Q== X-Received: by 2002:ac8:7d45:0:b0:31d:31e5:999b with SMTP id h5-20020ac87d45000000b0031d31e5999bmr7969637qtb.247.1657800470548; Thu, 14 Jul 2022 05:07:50 -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 y1-20020ac81281000000b0031ea53f4c5esm1209602qti.83.2022.07.14.05.07.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Jul 2022 05:07:49 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Cc: Heinrich Schuchardt Subject: [v3 3/7] doc: codingstyle: Remove comment about '//' style comments Date: Thu, 14 Jul 2022 08:07:42 -0400 Message-Id: <20220714120746.1137612-3-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220714120746.1137612-1-trini@konsulko.com> References: <20220714120746.1137612-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. Cc: Heinrich Schuchardt Signed-off-by: Tom Rini --- Changes in v2: - None --- doc/develop/codingstyle.rst | 6 ------ 1 file changed, 6 deletions(-) diff --git a/doc/develop/codingstyle.rst b/doc/develop/codingstyle.rst index 1041d1c8d946..2b13818a8ce3 100644 --- a/doc/develop/codingstyle.rst +++ b/doc/develop/codingstyle.rst @@ -33,12 +33,6 @@ The following rules apply: 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: * Remove any trailing white space -- 2.25.1