* [PATCH] MISRA: Update path for bsearch devation
@ 2025-02-28 10:06 Andrew Cooper
2025-02-28 10:19 ` Nicola Vetrini
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Cooper @ 2025-02-28 10:06 UTC (permalink / raw)
To: Xen-devel
Cc: Andrew Cooper, Jan Beulich, Roger Pau Monné, Anthony PERARD,
Michal Orzel, Jan Beulich, Julien Grall, Stefano Stabellini,
Nicola Vetrini, consulting @ bugseng . com
This ought to have been part of the original patch, so as to avoid breaking
CI.
Fixes: 31c0d6fdf421 ("xen/bsearch: Split out of lib.h into it's own header")
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
---
CC: Jan Beulich <JBeulich@suse.com>
CC: Roger Pau Monné <roger.pau@citrix.com>
CC: Anthony PERARD <anthony.perard@vates.tech>
CC: Michal Orzel <michal.orzel@amd.com>
CC: Jan Beulich <jbeulich@suse.com>
CC: Julien Grall <julien@xen.org>
CC: Roger Pau Monné <roger.pau@citrix.com>
CC: Stefano Stabellini <sstabellini@kernel.org>
CC: Nicola Vetrini <nicola.vetrini@bugseng.com>
CC: consulting@bugseng.com <consulting@bugseng.com>
https://gitlab.com/xen-project/people/andyhhp/xen/-/pipelines/1693121902
---
automation/eclair_analysis/ECLAIR/deviations.ecl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/automation/eclair_analysis/ECLAIR/deviations.ecl b/automation/eclair_analysis/ECLAIR/deviations.ecl
index a28eb0ae7658..dfa5f34b3952 100644
--- a/automation/eclair_analysis/ECLAIR/deviations.ecl
+++ b/automation/eclair_analysis/ECLAIR/deviations.ecl
@@ -231,7 +231,7 @@ Therefore the absence of prior declarations is safe."
-doc_begin="Given that bsearch and sort are defined with the attribute 'gnu_inline', it's deliberate not to have a prior declaration.
See Section \"6.33.1 Common Function Attributes\" of \"GCC_MANUAL\" for a full explanation of gnu_inline."
--file_tag+={bsearch_sort, "^xen/include/xen/(sort|lib)\\.h$"}
+-file_tag+={bsearch_sort, "^xen/include/xen/(sort|bsearch)\\.h$"}
-config=MC3A2.R8.4,reports+={deliberate, "any_area(any_loc(file(bsearch_sort))&&decl(name(bsearch||sort)))"}
-doc_end
base-commit: 31c0d6fdf421b09327448351eb13bc4f1f40106b
--
2.39.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] MISRA: Update path for bsearch devation
2025-02-28 10:06 [PATCH] MISRA: Update path for bsearch devation Andrew Cooper
@ 2025-02-28 10:19 ` Nicola Vetrini
0 siblings, 0 replies; 2+ messages in thread
From: Nicola Vetrini @ 2025-02-28 10:19 UTC (permalink / raw)
To: Andrew Cooper
Cc: Xen-devel, Jan Beulich, Roger Pau Monné, Anthony PERARD,
Michal Orzel, Julien Grall, Stefano Stabellini,
consulting @ bugseng . com
On 2025-02-28 11:06, Andrew Cooper wrote:
> This ought to have been part of the original patch, so as to avoid
> breaking
> CI.
>
> Fixes: 31c0d6fdf421 ("xen/bsearch: Split out of lib.h into it's own
> header")
> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
> ---
> CC: Jan Beulich <JBeulich@suse.com>
> CC: Roger Pau Monné <roger.pau@citrix.com>
> CC: Anthony PERARD <anthony.perard@vates.tech>
> CC: Michal Orzel <michal.orzel@amd.com>
> CC: Jan Beulich <jbeulich@suse.com>
> CC: Julien Grall <julien@xen.org>
> CC: Roger Pau Monné <roger.pau@citrix.com>
> CC: Stefano Stabellini <sstabellini@kernel.org>
> CC: Nicola Vetrini <nicola.vetrini@bugseng.com>
> CC: consulting@bugseng.com <consulting@bugseng.com>
>
> https://gitlab.com/xen-project/people/andyhhp/xen/-/pipelines/1693121902
> ---
> automation/eclair_analysis/ECLAIR/deviations.ecl | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed-by: Nicola Vetrini <nicola.vetrini@bugseng.com>
> diff --git a/automation/eclair_analysis/ECLAIR/deviations.ecl
> b/automation/eclair_analysis/ECLAIR/deviations.ecl
> index a28eb0ae7658..dfa5f34b3952 100644
> --- a/automation/eclair_analysis/ECLAIR/deviations.ecl
> +++ b/automation/eclair_analysis/ECLAIR/deviations.ecl
> @@ -231,7 +231,7 @@ Therefore the absence of prior declarations is
> safe."
>
> -doc_begin="Given that bsearch and sort are defined with the attribute
> 'gnu_inline', it's deliberate not to have a prior declaration.
> See Section \"6.33.1 Common Function Attributes\" of \"GCC_MANUAL\"
> for a full explanation of gnu_inline."
> --file_tag+={bsearch_sort, "^xen/include/xen/(sort|lib)\\.h$"}
> +-file_tag+={bsearch_sort, "^xen/include/xen/(sort|bsearch)\\.h$"}
> -config=MC3A2.R8.4,reports+={deliberate,
> "any_area(any_loc(file(bsearch_sort))&&decl(name(bsearch||sort)))"}
> -doc_end
>
>
> base-commit: 31c0d6fdf421b09327448351eb13bc4f1f40106b
--
Nicola Vetrini, B.Sc.
Software Engineer
BUGSENG (https://bugseng.com)
LinkedIn: https://www.linkedin.com/in/nicola-vetrini-a42471253
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-02-28 10:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-28 10:06 [PATCH] MISRA: Update path for bsearch devation Andrew Cooper
2025-02-28 10:19 ` Nicola Vetrini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.