Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp111110iof; Sun, 5 Jun 2022 22:43:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyASbEKsKfSPP3CpgJxegoa5/Yv//3yFWVHztwoP+8EOd6V8Rg7IO7SQ8Oz2h7dVb6ZgW/x X-Received: by 2002:a17:90b:214b:b0:1e2:d777:934f with SMTP id kt11-20020a17090b214b00b001e2d777934fmr24935076pjb.193.1654494201103; Sun, 05 Jun 2022 22:43:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654494201; cv=none; d=google.com; s=arc-20160816; b=YlVAZaBvAu7uykMhCdKE7wO7SD0/+u78Bowod5DO9PWt7jvUEEUlszDR5/rqfW1D/f jF3cxmqXsqc3bnXTTJHp+j5H1BhrPEQ/EZtfCTdFK7ZkPb2cVoz01Clv0Vn9ovdNP42t 2mEWlkReO1elJ9M+wDdw4dnUXHxMBLaqomh/8GS5+e+LwEjhzU/BGPOY2xgvMcc5qlx+ TNNKxlY8o9HattzI4WkASHFxO4g4bpcXXu9S0kj76nYxvyAmo6Zri7+w42dkJ8Q9CfYI SCeOhu93sHcqd66QghXC9f/A5VKZWNj0odbf7kUC0Lzjn2V+4709S9CEu+H9XBCfpqx6 /5Sg== 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:dkim-signature; bh=Mnufs1BjSjdmozj6JABcVVrpVW6MAUqL07hbBNcOciU=; b=1CW5o+PLm7NX9pCAVco8L4cLCn6h/48ttHWM/yPmJ89A/clUi7ezr4sgs7ksFiA63c dOyPTUF7FuFnDpnL5MKEJNU62v5uDJ2jRPY/n8NoxPzyQTpJcXYgCqz9oyZHnNcTCswv ua1CjVYotlExsroyhqO2I+KG5N6QeQiJTmbcWVbCFTCxhrnp8cmGPsfoMnP0DVQyOf83 CVTSkbSkxnSR8dQmTJirD8J2+LzRacYSgG4ci1imCofVa4QZmD4WGf5j0X12Xh8wIvNB s43miT0byuO6dBaPXfo4FsYqSO9/cq/nONTjxSYkGNk0mDsbNJzCUHeS2AKwJNi4qGYI OQ7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=UHxFjtdB; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id h125-20020a636c83000000b003fdae53388bsi4099803pgc.757.2022.06.05.22.43.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jun 2022 22:43:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=UHxFjtdB; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0D56D2216B0; Sun, 5 Jun 2022 21:33:53 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346748AbiFCV0u (ORCPT + 99 others); Fri, 3 Jun 2022 17:26:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346661AbiFCV0t (ORCPT ); Fri, 3 Jun 2022 17:26:49 -0400 Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A3432A7 for ; Fri, 3 Jun 2022 14:26:47 -0700 (PDT) Received: by mail-io1-xd35.google.com with SMTP id p130so2557076iod.0 for ; Fri, 03 Jun 2022 14:26:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Mnufs1BjSjdmozj6JABcVVrpVW6MAUqL07hbBNcOciU=; b=UHxFjtdBWGl+XyZQJgo1tVG54QqU8Gjiqvd290y46RDAS3li60l3aWxhyMA2D1sX47 RV2fm36ADUpn95DDrz1d1IrxqNsODEnZ0l+qmhmUuMYjIgkZHX6imPCKGpmdiM6FN6Eg k77oLKWRkip4M5wFWrqidCS0IpoDSkMDk/RBogmTbz/KTFdNW7sHLVJ00ZSE+IdlxP2S x6Z842kLxuUfhO26BsYVxIYD9ryjpCAnl8MBl4WI5ZcWOpYmA7Xas90yCycKJlWg3VwK 5SaY3AlhrR6Iy9CXWfShHLEXDHAvfKEZoCODymr/atAF4SvpAMljfXCM2reOGK33uvnK SMgQ== 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:mime-version :content-transfer-encoding; bh=Mnufs1BjSjdmozj6JABcVVrpVW6MAUqL07hbBNcOciU=; b=UFw5cb/n7JTPERDM50A9lNnvEkc68ceZgasrMjBPhYhnlnoqulu+snCRmEugZ70Nir PkGb5ym810nUpgM9PxnoLmWta6elnJxBdKhC/5sXWdJIi2ryX8ypwXNhb92Ud8qwjtej VoMuz4GB5wMR6tRLh+BewW1xmNPxTDBwAIl6+ZYTN23YTtC3WmIx8gfqgfsxEk3W7jeH w5RxcGuXPlkfC0VIfyVmk7iVf5FbTxjeML1aE2nBL82vjUAuKak4Z6JDUhFcd4M/drNE /dbMM4DkCSy7583y7/0GL8Iz+6QTKsKNJZIAMK8c1ubxN3+i/HVfr7ZSDouZdqNAAtZW SDqA== X-Gm-Message-State: AOAM530iYsbo/iurh7tSmImzCzKnzaR0XBQJVh32NJ+71iarYLUkT7+J tXe5iZHyFlRgRfcBS+0d4u8HeiNrvB4= X-Received: by 2002:a05:6638:300b:b0:317:a127:53ac with SMTP id r11-20020a056638300b00b00317a12753acmr6380841jak.77.1654291606751; Fri, 03 Jun 2022 14:26:46 -0700 (PDT) Received: from localhost.localdomain (c-68-47-51-143.hsd1.mn.comcast.net. [68.47.51.143]) by smtp.gmail.com with ESMTPSA id t17-20020a92c0d1000000b002d3da8e4af5sm2981806ilf.23.2022.06.03.14.26.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jun 2022 14:26:46 -0700 (PDT) From: Michael Brudevold To: linux-bluetooth@vger.kernel.org Cc: Michael Brudevold Subject: [PATCH] doc/coding-style: Update URL to kernel coding style Date: Fri, 3 Jun 2022 16:26:04 -0500 Message-Id: <20220603212604.13758-1-puffy.taco@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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-bluetooth@vger.kernel.org From: Michael Brudevold --- doc/coding-style.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/coding-style.txt b/doc/coding-style.txt index f0bf880e3..e73158840 100644 --- a/doc/coding-style.txt +++ b/doc/coding-style.txt @@ -7,14 +7,14 @@ some level of consistency among developers so that code can be easily understood and maintained. First of all, BlueZ coding style must follow every rule for Linux kernel -(http://www.kernel.org/doc/Documentation/CodingStyle). There also exists a tool -named checkpatch.pl to help you check the compliance with it. Just type -"checkpatch.pl --no-tree patch_name" to check your patch. In theory, you need -to clean up all the warnings and errors except this one: "ERROR: Missing -Signed-off-by: line(s)". BlueZ does not used Signed-Off lines, so including -them is actually an error. In certain circumstances one can ignore the 80 -character per line limit. This is generally only allowed if the alternative -would make the code even less readable. +(https://www.kernel.org/doc/Documentation/process/coding-style.rst). There also +exists a tool named checkpatch.pl to help you check the compliance with it. +Just type "checkpatch.pl --no-tree patch_name" to check your patch. In theory, +you need to clean up all the warnings and errors except this one: "ERROR: +Missing Signed-off-by: line(s)". BlueZ does not used Signed-Off lines, so +including them is actually an error. In certain circumstances one can ignore +the 80 character per line limit. This is generally only allowed if the +alternative would make the code even less readable. Besides the kernel coding style above, BlueZ has special flavors for its own. Some of them are mandatory (marked as 'M'), while some others are optional -- 2.25.1