[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH 09/18] xen: cppcheck: misra rule 20.7 deviation on kconfig.h
- To: Luca Fancellu <luca.fancellu@xxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Tue, 20 Dec 2022 10:48:00 +0100
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=s8xa4IpYaB+XWhbedha+yGQ6Vi9eXGQhWfJYKdUxji8=; b=MmEGD+ANpXNHIjFEfH3H34/9BSYNv4ERR4VyF3Kd5ukSvKRN/blAx2olakc9YGNOi/xSlIelSwKcZ4GKjFQrnsWiGzMQabHPE2wT75JMtoJPic4RNEZELaYzmxrW9zmXVT3tzaLJy4aZYoi7voryj/rMffKERR/p3YhDX/Ud6Qrf81QzlNeTzgh1fbzFiUsigIh8Ha+lbUjNRfNZFyMAtEqa3c2SU9JKUkOrrRp2zznW92i5/ahqajzPVB9IhHhYR/19Kf0oUbQgw0Z+MZWa6h98Xp4yQiz/yyheyTANxktYqDAQKiJgKRCbbUre+m51DB/Vn1YBIFsqMUz7KGAiuw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=N1degcOVIeFdsrBwbwPNZ9nErWwonDF6rUHJKbhxWT78vtE0FXbwKqcBRqRCQnUKQhlzqpeWVOa3g+IjECEOrsHW9YEU9bGWLPgQpp6f6NmblG42Dj+wNqzQQ6RXIhz5CC054yPvddAwtJ61WCH/51I4RrK6sHi16nX7Urvbj0kLOOK8QwcmKzN0fp/MVeLcVPJpfcTLdOyiKFYJUFaQ6Sh2RhT4XARiInPBYk7l6742Ixlt1ak8of9fYB5hOIGVXsqcPV7WaO/2NfVQVzwNV9SNN9Kqy6w9qfbxnz1UEEbulhg93avqq4nQuf5eyxA7S7Ub8X98zOxbjlcxxd2Gug==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: wei.chen@xxxxxxx, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
- Delivery-date: Tue, 20 Dec 2022 09:48:08 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 20.12.2022 09:50, Luca Fancellu wrote:
> Cppcheck has found a violation of rule 20.7 for the macro
> __config_enabled but the preprocessor branch where this macro is
> defined should not be analysed by cppcheck when CPPCHECK macro is
> defined, hence this is a false positive of the tool and we can
> safely suppress the finding.
So what was commit 43aa3f6e72d3's ("xen/build: Add cppcheck and
cppcheck-html make rules") adjustment to the file about then?
Jan
|