From: Jan Beulich <jbeulich@suse.com>
To: Nicola Vetrini <nicola.vetrini@bugseng.com>
Cc: sstabellini@kernel.org, michal.orzel@amd.com,
xenia.ragiadakou@amd.com, ayan.kumar.halder@amd.com,
consulting@bugseng.com, andrew.cooper3@citrix.com,
roger.pau@citrix.com, Julien Grall <julien@xen.org>,
Bertrand Marquis <bertrand.marquis@arm.com>,
Volodymyr Babchuk <Volodymyr_Babchuk@epam.com>,
George Dunlap <george.dunlap@citrix.com>, Wei Liu <wl@xen.org>,
xen-devel@lists.xenproject.org
Subject: Re: [XEN PATCH][for-4.19 v6 1/8] xen: modify or add declarations for variables where needed
Date: Tue, 21 Nov 2023 09:50:07 +0100 [thread overview]
Message-ID: <2caaa971-5f36-47d6-8a94-e2ca2e28d21f@suse.com> (raw)
In-Reply-To: <03ff750e9580c2de8ce3d1211562a03f663d678c.1698829473.git.nicola.vetrini@bugseng.com>
On 01.11.2023 10:30, Nicola Vetrini wrote:
> Some variables with external linkage used in C code do not have
> a visible declaration where they are defined. Other variables
> can be made static, thereby eliminating the need for a declaration.
> Doing so also resolves violations of MISRA C:2012 Rule 8.4.
>
> Fix typo s/mcinfo_dumpped/mcinfo_dumped/ while making
> the variable static.
>
> Signed-off-by: Nicola Vetrini <nicola.vetrini@bugseng.com>
> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
> Acked-by: Jan Beulich <jbeulich@suse.com>
> ---
> Jan's ack is for the x86 part, but no other concerns have been
> raised for the arm files.
Actually, there is one:
> --- a/xen/include/xen/symbols.h
> +++ b/xen/include/xen/symbols.h
> @@ -33,4 +33,5 @@ struct symbol_offset {
> uint32_t stream; /* .. in the compressed stream.*/
> uint32_t addr; /* .. and in the fixed size address array. */
> };
> +
> #endif /*_XEN_SYMBOLS_H*/
This is a stray change, and wants dropping here no matter that there indeed
wants to be a blank line there. I'll take the liberty of doing so while
committing.
Jan
next prev parent reply other threads:[~2023-11-21 8:50 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-01 9:15 [XEN PATCH][for-4.19 v6 0/8] Fix or deviate various instances of missing declarations Nicola Vetrini
2023-11-01 9:30 ` Nicola Vetrini
2023-11-01 9:30 ` [XEN PATCH][for-4.19 v6 1/8] xen: modify or add declarations for variables where needed Nicola Vetrini
2023-11-21 8:50 ` Jan Beulich [this message]
2023-11-01 9:30 ` [XEN PATCH][for-4.19 v6 2/8] x86: add deviation for asm-only functions Nicola Vetrini
2023-11-01 23:10 ` Stefano Stabellini
2023-11-01 23:42 ` Julien Grall
2023-11-02 7:40 ` Nicola Vetrini
2023-11-02 13:27 ` Jan Beulich
2023-11-02 13:52 ` Nicola Vetrini
2023-11-01 9:30 ` [XEN PATCH][for-4.19 v6 3/8] x86: add asmlinkage macro to variables only used in asm code Nicola Vetrini
2023-11-01 23:12 ` Stefano Stabellini
2023-11-02 13:28 ` Jan Beulich
2023-11-01 9:30 ` [XEN PATCH][for-4.19 v6 4/8] x86/grant: switch included header to make declarations visible Nicola Vetrini
2023-11-01 9:30 ` [XEN PATCH][for-4.19 v6 5/8] x86/vm_event: add missing include for hvm_vm_event_do_resume Nicola Vetrini
2023-11-01 9:30 ` [XEN PATCH][for-4.19 v6 6/8] xen/console: remove stub definition in consoled.h Nicola Vetrini
2023-11-01 9:30 ` [XEN PATCH][for-4.19 v6 7/8] x86/mem_access: make function static Nicola Vetrini
2023-11-01 9:30 ` [XEN PATCH][for-4.19 v6 8/8] docs/misra: exclude three more files Nicola Vetrini
2023-11-01 9:32 ` [XEN PATCH][for-4.19 v6 0/8] Fix or deviate various instances of missing declarations Nicola Vetrini
2023-11-21 9:19 ` Jan Beulich
2023-11-22 1:52 ` Stefano Stabellini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2caaa971-5f36-47d6-8a94-e2ca2e28d21f@suse.com \
--to=jbeulich@suse.com \
--cc=Volodymyr_Babchuk@epam.com \
--cc=andrew.cooper3@citrix.com \
--cc=ayan.kumar.halder@amd.com \
--cc=bertrand.marquis@arm.com \
--cc=consulting@bugseng.com \
--cc=george.dunlap@citrix.com \
--cc=julien@xen.org \
--cc=michal.orzel@amd.com \
--cc=nicola.vetrini@bugseng.com \
--cc=roger.pau@citrix.com \
--cc=sstabellini@kernel.org \
--cc=wl@xen.org \
--cc=xen-devel@lists.xenproject.org \
--cc=xenia.ragiadakou@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.