Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp40032pxk; Wed, 16 Sep 2020 16:29:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQ+nD2pjuaC2uqsAXqsspnyZVLm574z35Ih+1lxLcw4+YaT0uDxOnTXlfDYHzAGshdfCFl X-Received: by 2002:a50:e79c:: with SMTP id b28mr30915650edn.371.1600298998236; Wed, 16 Sep 2020 16:29:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600298998; cv=none; d=google.com; s=arc-20160816; b=o0RQ2CrGEPu1pU3TeJNIwmBkQO1XYxF4NGiMLAdoeMJy2k5RRCvXfJqoAMXn8Vuhy0 Y3SE+AGyZqr6vVdvxLqRrr6oNnHzdGGYoHIhEzjhlVpJeh+n3O+FlmfSzTmYN2NJo+Cr dVqdN2opQty/guW1kyumWLikJW0n5LHoqEAEQy/HKBqS7Z+scpf0AuAlce3Oxp5bOeJX IwPpgsJITiAPc5WmAduQMwYAGJFu+80maF+Ozii6JHaTGRWUwcF2TDG4V8kDcfGkcmJ8 nDfUzWsgbnsMQgI+AREB2l5scsJRWAxb2hpOC7CW1G8HZ/asrJBM/vMi8NEf1czVb9J7 zT2w== 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=jJtM6SWc5ZprJqMDDK5XKhZigjMAkpVWMtpZC0dehHA=; b=oaIVDqra95B0do3rbRGZa7/BG3OdUVhlcA85sZL3ixe1t+T4U4nOVykLe6ZqojsHAU 9BgyC0H03DgpdEs+nkTCZw/rvittd5CZ67H4zAnS6clZeI06G0ocu2ckr52mRUYDdali Loj3rzw6jU9ycKKrfbr56XrogVmnoS8/S0DbQlhlySqOC1Q0MMDv5UQ/BjhgDC7CVoVt POE8cOrLTPIunGq+yXjBLWaOFxbpypg3Je5c+Wc60IrXGIZXosVD/yxK8wBF7v2AIas1 eCLQ/uqMcPNGyURr9he9H106OudghqJWzCSS6Mg7jqtSFu2CLlkpJYq/pWe0VcqAhnST gO/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=UK37IqGV; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id nq4si13123889ejb.569.2020.09.16.16.29.34; Wed, 16 Sep 2020 16:29:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-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=@chromium.org header.s=google header.b=UK37IqGV; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726373AbgIPX33 (ORCPT + 99 others); Wed, 16 Sep 2020 19:29:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726084AbgIPX33 (ORCPT ); Wed, 16 Sep 2020 19:29:29 -0400 Received: from mail-pj1-x1041.google.com (mail-pj1-x1041.google.com [IPv6:2607:f8b0:4864:20::1041]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38AC6C06174A for ; Wed, 16 Sep 2020 16:29:29 -0700 (PDT) Received: by mail-pj1-x1041.google.com with SMTP id b17so255777pji.1 for ; Wed, 16 Sep 2020 16:29:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=jJtM6SWc5ZprJqMDDK5XKhZigjMAkpVWMtpZC0dehHA=; b=UK37IqGVbuC4KpqXMsFpnuuRHM4BtO9YmaDyAzwwVzLpG7H+o8gb+uis7gcg3jqZS5 tVAVSOejG4y/MVUDLBM0DR/FKJ4EWoOcQi+ZgVdVoPyDBow76x8nNwskzGyEYUAYWf2s /4QdHAzQ6CiOtz6vP7Bv2glbZOfR8lOOTIILw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=jJtM6SWc5ZprJqMDDK5XKhZigjMAkpVWMtpZC0dehHA=; b=ev7NGPugx85R0uWYKh5Sd6qa2qtMg0HdOwuef5ayK9ZwNU2Javf1ggET4Y9sz+O/Me 8ASAcw+04mLRYoY2RaRC8gqfXEwvvQACyW6Y0ObNmvb74fbaurURtgFEfOK0XkwGyWEl IVTYk/YvOZI7okh8oK6dTSU+tnT41oLVVCF104V7g8SWlz71mWvRWoSknpwnIblos+c/ fdcfEiSNAO226g0OJmiW46DzR6cnyR1yYULA7j3Tx8OK49D/kHNUUjVnpnFDAz3Toe33 IsGQWRYtdpWi9cHiiaqwEQnBkA/kHVDlYB2x1KaB3PZ2zaM8CVZzS0cnyULpcukROlvh zI9Q== X-Gm-Message-State: AOAM533rB3Dh6rzpsZJ0nTgqNNOrZO2LyQgGUK0vGDIAPD0bniBcRBlq C5mZ47XcQZ/NADV4ILoXt/jN3NCb9WfxfQ== X-Received: by 2002:a17:902:d711:b029:d1:c6b5:ae5f with SMTP id w17-20020a170902d711b02900d1c6b5ae5fmr17157192ply.38.1600298968370; Wed, 16 Sep 2020 16:29:28 -0700 (PDT) Received: from sonnysasaka-chrome.mtv.corp.google.com ([2620:15c:202:201:4a0f:cfff:fe66:e60c]) by smtp.gmail.com with ESMTPSA id d77sm18211112pfd.121.2020.09.16.16.29.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 Sep 2020 16:29:27 -0700 (PDT) From: Sonny Sasaka To: linux-bluetooth@vger.kernel.org Cc: Sonny Sasaka Subject: [PATCH BlueZ] doc/coding-style: Allow spaces after tabs for indenting wrapped lines Date: Wed, 16 Sep 2020 16:29:24 -0700 Message-Id: <20200916232924.129991-1-sonnysasaka@chromium.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org The "only tabs for indentation" rule was enforced long ago to align with Linux kernel net coding style. This is no longer the case today so we are relaxing the coding style to allow spaces after tabs if it can increase readability. --- doc/coding-style.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/coding-style.txt b/doc/coding-style.txt index f0bf880e3..6a7415847 100644 --- a/doc/coding-style.txt +++ b/doc/coding-style.txt @@ -104,9 +104,16 @@ void btd_adapter_register_pin_cb(struct btd_adapter *adapter, void btd_adapter_register_pin_cb(struct btd_adapter *adapter, btd_adapter_pin_cb_t cb) +5) +void btd_adapter_register_pin_cb(struct btd_adapter *adapter, + btd_adapter_pin_cb_t cb) + The referred style for line wrapping is to indent as far as possible to the right without hitting the 80 columns limit. +It is acceptable to add padding with spaces after tabs to increase +readability, for example to indent function arguments at the parenthesis. + M5: Space when doing type casting ================================= -- 2.26.2