Message ID | 20231208-clang-format-mt-for-each-v1-1-b4b73186b886@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp5747117vqy; Fri, 8 Dec 2023 14:08:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IHOGJFvbuYigprcFrJIaLeiFlT9IDepLV5GWgEz6lQJv6vvWw0YXLPuhEKfc8fxKAPsCzkA X-Received: by 2002:a05:6a20:9782:b0:187:dd5f:93b9 with SMTP id hx2-20020a056a20978200b00187dd5f93b9mr603306pzc.14.1702073335267; Fri, 08 Dec 2023 14:08:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702073335; cv=none; d=google.com; s=arc-20160816; b=WsCLyh4Cyrbq1s0N1QX91aA6JoINFOemBObH0LmX7jmkEbmaoE3Xjgp9nwAFVGXVAn jKnvgFKofBQVek25k0KPqU5ZZnt9NWVsas3Mv+UqNWa+TZrLHfO4OHdgtxLPb0wOiyHi ZqVGM53NcqG1SSi28RTtySfjhC7HJSI+xGIT78jnloI9y2AxP8RBIeUX8FwOq07c3I+H yNQQpu+D4DmeO5SQMbbEX+SX378XWzDnvTX3UANXLf5/2wr0v6fU566udV5KAp95QnKA EfsAVGrUXcqJzWayh+3XdkZ2Fwrfp8zNU8xh4pryUWHuotrBfzEt0C7fpkOo03leqdWd CDWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:message-id:content-transfer-encoding :mime-version:subject:date:from:dkim-signature; bh=B23GovXxqp99o/l4fZ6ai8goWBskAqHEnHVpvbkPoWE=; fh=bMaFIt2Elo4RggAOHJ7Lsg36Z8L2HiGsN56V80WkUKI=; b=sA5pmQFMYXEMROMPVXSY/GDIS2yU0I54txyexDxYIGdujjyMvq3KN+4qHj+IzfJqS3 ifRP+ujICGR5SwrryfjOHEe4Ny4PUU3l0HbZ2bkYg4hU/UuSQiIGQVWG5PsP0H5JyMYd JZ/PaVaB64MqRYwbPlXSNod/sDlpdqf2OrnlndGM1j3HMHtbI1se3xGnJOWFSNK+65IB CDXl0IS0QsPTUNxd/H6UOQPLqcgS6VI9ar06rv4GLUWru/F3AY5N+Hz6mqV71bn1gCFo I5DDtElQ29NulLwVKZObLDF85j5l0i22jrN7XObYtEHPxLkzUY5MRd3iZ72o+l+WVRm8 ASLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=GGCJsY3C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id x24-20020a170902b41800b001d09c96ba0fsi2118128plr.421.2023.12.08.14.08.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 14:08:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=GGCJsY3C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 576F8831358E; Fri, 8 Dec 2023 14:08:51 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1574860AbjLHWIm (ORCPT <rfc822;makky5685@gmail.com> + 99 others); Fri, 8 Dec 2023 17:08:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233976AbjLHWIk (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 8 Dec 2023 17:08:40 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95E22171E; Fri, 8 Dec 2023 14:08:45 -0800 (PST) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3B8M1qn5026906; Fri, 8 Dec 2023 22:08:32 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : date : subject : mime-version : content-type : content-transfer-encoding : message-id : to : cc; s=qcppdkim1; bh=B23GovXxqp99o/l4fZ6ai8goWBskAqHEnHVpvbkPoWE=; b=GGCJsY3CyuhTGLZUXlKGQo/1tTO/smZX8Rut95r8qZnXNYfuOMTcxdU9tmRsAdH9/YFr /DDrHSEQteGIZgf5auZQlPWpCCFAt+SbatKXqzL4kktNcAfdOkf+K3RABunYco36Swpw beR6aESXWjFSUivS55RWSIFeGRRne09oSuV1kaBOM1rR3fQcU3w6hCSwjoBXmWTkDfmT wV+DashsilIAkTt3hgTgX21NJE50U9I2F2e+P/xLUXZ0eTj0MVANTJWQXHZnMQGWZJ9n qdUJCoZPLhYiqVzqW35qiplZREfCHrVLn7VLiACnZsSWMUO0hK2+PMaw658hVz5CWza3 5w== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3uuu1dt3cm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 08 Dec 2023 22:08:31 +0000 Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3B8M8VlJ000510 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 8 Dec 2023 22:08:31 GMT Received: from [169.254.0.1] (10.49.16.6) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Fri, 8 Dec 2023 14:08:30 -0800 From: Elliot Berman <quic_eberman@quicinc.com> Date: Fri, 8 Dec 2023 14:08:29 -0800 Subject: [PATCH] clang-format: Add maple tree's for_each macros MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: <20231208-clang-format-mt-for-each-v1-1-b4b73186b886@quicinc.com> X-B4-Tracking: v=1; b=H4sIANyTc2UC/x2MSwqAMAwFryJZG7C1LvQq4iK0UQP+aEWE4t2N7 mYG3suQOAon6IoMkS9Jsm8qpizAz7RNjBLUwVa2NrYy6BetOO5xpRPX8yNk8jN6CtQG54iaADo /Io9y/9f98DwvQ5nILmoAAAA= To: Miguel Ojeda <ojeda@kernel.org>, Nathan Chancellor <nathan@kernel.org>, Nick Desaulniers <ndesaulniers@google.com>, Bill Wendling <morbo@google.com>, Justin Stitt <justinstitt@google.com> CC: <linux-arm-msm@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <llvm@lists.linux.dev>, Elliot Berman <quic_eberman@quicinc.com> X-Mailer: b4 0.13-dev X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01a.na.qualcomm.com (10.47.209.196) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: KzngbB3wzlZSq2qL5v8BZQAwCgEY3oet X-Proofpoint-ORIG-GUID: KzngbB3wzlZSq2qL5v8BZQAwCgEY3oet X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-08_14,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 malwarescore=0 adultscore=0 clxscore=1011 bulkscore=0 mlxlogscore=569 phishscore=0 suspectscore=0 impostorscore=0 spamscore=0 lowpriorityscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2312080184 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Fri, 08 Dec 2023 14:08:51 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784753249432417338 X-GMAIL-MSGID: 1784753249432417338 |
Series |
clang-format: Add maple tree's for_each macros
|
|
Commit Message
Elliot Berman
Dec. 8, 2023, 10:08 p.m. UTC
Add maple tree's for_each macros so clang-format operates correctly on
{mt,mas}_for_each.
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
---
.clang-format | 2 ++
1 file changed, 2 insertions(+)
---
base-commit: 5eda217cee887e595ba2265435862d585d399769
change-id: 20231201-clang-format-mt-for-each-cada9d44aa5d
Best regards,
Comments
On Fri, Dec 8, 2023 at 11:08 PM Elliot Berman <quic_eberman@quicinc.com> wrote: > > Add maple tree's for_each macros so clang-format operates correctly on > {mt,mas}_for_each. Thanks, applied (moved `mt_for_each` to the right spot). I have also applied a full update of the list on top, since it has been a while since we have done so. Cheers, Miguel
diff --git a/.clang-format b/.clang-format index 0bbb1991defe..54bab11d38f0 100644 --- a/.clang-format +++ b/.clang-format @@ -494,11 +494,13 @@ ForEachMacros: - 'map_for_each_metric' - 'maps__for_each_entry' - 'maps__for_each_entry_safe' + - 'mas_for_each' - 'mci_for_each_dimm' - 'media_device_for_each_entity' - 'media_device_for_each_intf' - 'media_device_for_each_link' - 'media_device_for_each_pad' + - 'mt_for_each' - 'msi_for_each_desc' - 'nanddev_io_for_each_page' - 'netdev_for_each_lower_dev'