Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1862256rdb; Thu, 7 Dec 2023 10:38:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IGK1EHIoTvamb0MLiPHYeaHfo1SooyXa8Tru1D8MQqrqZGI3i7G2kJ+hlM0jVVDOWjxA3op X-Received: by 2002:a62:84d6:0:b0:6ce:2731:e865 with SMTP id k205-20020a6284d6000000b006ce2731e865mr3193638pfd.44.1701974280412; Thu, 07 Dec 2023 10:38:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701974280; cv=none; d=google.com; s=arc-20160816; b=pjLn/dGO2xSNeXBDKV0j6vlKnsUvehqgs+MzyRo/z8ijgB0wyC7hBHjOv7SVffk8NB FXQvCLS4MthSGV45y+/3l/qXqHDNIaaLxtRAVnh5YlUd/+DkyzOG5KNc08P3QRXDcsp8 TkQzxSAZ8TWox6X3H4wRDyP3c9f6LV9Ir5aWHTfM3DGCzMi5cc+Ma4KwNF1Ydys6xMrZ YvQFbIy3sS1v08Sw654URssAsEGgOGMR6/sUqGBL+Pun/5TFdA907tBoeZYInCOg6Aif CJwvbuJgUJMDgUVFwpH7HeNCde7mnKG4uS8CNZ0WJLVXEKneJSCCgAt+3AC0nDYJRpoB oytA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=YtjAQoIT2DHlNZmLjotzKz32JrZPRF6CzrbyEqfG4gY=; fh=EXgg9YqnApgKKZYhZSosPcHJkz7G44hkaqfseiwxB60=; b=lloYareFoLZT6esOhH3NE07CLTKie7E2YXrlw5AxJOclttfeN6Mxb9YezUoxyKXbp+ X+v7QC3tp5aWyX5yiGLZq1X6BIQCSMk/VVhzXnXKHOx1wbHl2SeL4gZTOIt0zVZMq7Ur yMzvjPl5pbdpfWvcLZrI8/jpKvAKnkdUaheULxE9C9xZWuEqtBdzci33s86vE5WMNzjL XM7jZJgRfRawBahElxAI4YgFkaV+00pO5xnE8O5d6vaazFO5ensMEMu8gXW5S1B0okuO viPGFvifxnxmVg2AGEC4dUCUWXuURvBbh9b5Wt80eUC0wGB1nmV0QjH4tDzcIVUg5BXG AdOg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=analog.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id x1-20020a056a00188100b006cb63513372si136379pfh.12.2023.12.07.10.37.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 10:38:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=analog.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id B7E92803B508; Thu, 7 Dec 2023 10:37:57 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233077AbjLGShp (ORCPT + 99 others); Thu, 7 Dec 2023 13:37:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232955AbjLGSho (ORCPT ); Thu, 7 Dec 2023 13:37:44 -0500 Received: from mx0a-00128a01.pphosted.com (mx0a-00128a01.pphosted.com [148.163.135.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29CB5E0; Thu, 7 Dec 2023 10:37:51 -0800 (PST) Received: from pps.filterd (m0167089.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3B7EVRYb008189; Thu, 7 Dec 2023 13:37:29 -0500 Received: from nwd2mta3.analog.com ([137.71.173.56]) by mx0a-00128a01.pphosted.com (PPS) with ESMTPS id 3utd13snvu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 07 Dec 2023 13:37:29 -0500 (EST) Received: from ASHBMBX8.ad.analog.com (ASHBMBX8.ad.analog.com [10.64.17.5]) by nwd2mta3.analog.com (8.14.7/8.14.7) with ESMTP id 3B7IbSDt024357 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 7 Dec 2023 13:37:28 -0500 Received: from ASHBMBX9.ad.analog.com (10.64.17.10) by ASHBMBX8.ad.analog.com (10.64.17.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Thu, 7 Dec 2023 13:37:27 -0500 Received: from zeus.spd.analog.com (10.66.68.11) by ashbmbx9.ad.analog.com (10.64.17.10) with Microsoft SMTP Server id 15.2.986.14 via Frontend Transport; Thu, 7 Dec 2023 13:37:27 -0500 Received: from work.ad.analog.com (HYB-hERzalRezfV.ad.analog.com [10.65.205.129]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 3B7Ib4Cb015117; Thu, 7 Dec 2023 13:37:07 -0500 From: Marcelo Schmitt To: , , , , , , , , , , , , CC: , , Subject: [PATCH v3 01/13] scripts: checkpatch: Add __aligned to the list of attribute notes Date: Thu, 7 Dec 2023 15:37:03 -0300 Message-ID: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-ADIRuleOP-NewSCL: Rule Triggered X-Proofpoint-ORIG-GUID: tmzoLcNrQQ_krVcYJPFZ--HA0VJ8NgwQ X-Proofpoint-GUID: tmzoLcNrQQ_krVcYJPFZ--HA0VJ8NgwQ 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-02_01,2023-11-30_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 mlxscore=0 spamscore=0 phishscore=0 adultscore=0 malwarescore=0 priorityscore=1501 mlxlogscore=999 suspectscore=0 bulkscore=0 impostorscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312070155 X-Spam-Status: No, score=-0.8 required=5.0 tests=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 groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 07 Dec 2023 10:37:57 -0800 (PST) Checkpatch presumes attributes marked with __aligned(alignment) are part of a function declaration and throws a warning stating that those compiler attributes should have an identifier name which is not correct. Add __aligned compiler attributes to the list of attribute notes so they don't cause warnings anymore. Signed-off-by: Marcelo Schmitt --- The patch that would trigger the mentioned checkpatch warning in this series is patch number 12 (iio: adc: Add support for AD7091R-8). scripts/checkpatch.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 25fdb7fda112..e6773ae0ad08 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -512,6 +512,7 @@ our $Attribute = qr{ __ro_after_init| __kprobes| $InitAttribute| + __aligned| ____cacheline_aligned| ____cacheline_aligned_in_smp| ____cacheline_internodealigned_in_smp| -- 2.42.0