[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 0/3] misra: add Rule 5.5 deviations for macro clashes
- To: Jan Beulich <jbeulich@xxxxxxxx>
- From: Dmytro Prokopchuk <dmytro_prokopchuk1@xxxxxxxx>
- Date: Mon, 19 Oct 2026 17:25:25 +0300
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=7UGNIoeTDw6IJbM4PFWZhyPIM+ZOv4SYdoDQnE3EWr4=; b=fnagya6yoQkBWWgsILnrryMkB9zcWexrfyjYjoNrCo3a5amWCGOoFgf5zH+CkSRCktaSIlIZzJ2Rx5UbJ+XcVoLmKh6jsQAD7lix/zmkGbFCt5nJQm4rXLyENqEG/yAjfchKgH4ETSF66tbprw/S3guknVmaVp8V/t5SMd0v9CQVSFQ6TP1ZC6M2dg9TSIUtkkOkjjmW17jXBHeKiLgxiurDmKpaG5DHLYNZlUen/F44uwCNsGV34KJz4VOCWK0T3q+o42vdRogv6ySGEz1H9LAvq/fRo/0x40E0XSpjVlgBOVYpLbjmvsWpZjlh7JDr/Lf3pRebrEQwkUiSOOydnQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=F/iKkcrANFmAGMP1Q8OdJ8egMam9x/SyHmh0rkR7TJ+CCmFaZvmr6I6ag2d8RNkhMnzkDmb/r5lFgGId7SMinjsL6ZPRW0iRNdkJhCTdQpE8VyXF36ocY7aDsebN0A8YW66pn+bmoouR6doKLrOf2qAxIF4+h8UkmePbtyz/VaqAFwurK9smqW375nIQhYqA24vAVClBvLwl/E4+Byt0ZcUreHJlvbC+euZaokXCp+MAJijz/heNmGiplL2EIMfzUFcQULQvhJXK0IUApyaM/fXrGhCDVjCKoO/XCXdwLIcP+UiWfUiY+opEIBV/bMcHUBKCzyKE+kxJHqre9cNOhQ==
- Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=selector1 header.d=epam.com header.i="@epam.com" header.h="From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck"
- Authentication-results: mx.microsoft.com 1; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=epam.com;
- Cc: Nicola Vetrini <nicola.vetrini@xxxxxxxxxxx>, Doug Goldstein <cardoe@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Julien Grall <julien@xxxxxxx>, Roger Pau Monné <roger@xxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- Delivery-date: Mon, 19 Oct 2026 14:25:51 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
Hi Jan,
On 9/29/26 09:52, Jan Beulich wrote:
On 29.09.2026 08:21, Dmytro Prokopchuk1 wrote:
This series adds deviations for function/macro name clashes where
the macro is used as a wrapper around an existing function name.
With these three patches all ARM Rules 5.5 became clean.
Changes in v3:
- update wording with specifying file (constrains)
- add Jan's ack for the first patch in the list
I.e. you took my reply to Bastian's comment as sufficient to address his
concern?
Jan
Not entirely. I took your explanation as the rationale, but v3 doesn't
record it in the deviation text.
The patch is already committed, so v3 didn't record the rationale you
gave for sharing the name. I can send a follow-up patch that adds it to
the deviation text and rules.rst: the macro deliberately shares the
function's name so that accidental use of the size-based function is
less likely.
BR, Dmytro.
|