From: Nicola Vetrini <nicola.vetrini@bugseng.com>
To: xen-devel@lists.xenproject.org
Cc: sstabellini@kernel.org, michal.orzel@amd.com,
xenia.ragiadakou@amd.com, ayan.kumar.halder@amd.com,
consulting@bugseng.com, "Roger Pau Monné" <roger.pau@citrix.com>,
"Julien Grall" <julien@xen.org>,
"Jan Beulich" <jbeulich@suse.com>,
"Andrew Cooper" <andrew.cooper3@citrix.com>,
"George Dunlap" <george.dunlap@citrix.com>,
"Wei Liu" <wl@xen.org>
Subject: Re: [XEN PATCH v2 2/3] vpci/msix: make 'get_slot' static
Date: Wed, 23 Aug 2023 16:09:34 +0200 [thread overview]
Message-ID: <83384f49acf61489588faf76e54fa106@bugseng.com> (raw)
In-Reply-To: <c6e270c813ef1a4da7045a5fcf7bd9e1b8f21947.1692275359.git.nicola.vetrini@bugseng.com>
On 17/08/2023 14:39, Nicola Vetrini wrote:
> The function can become static since it's used only within this file.
> This also resolves a violation of MISRA C:2012 Rule 8.4 due to the
> absence
> of a declaration before the function definition.
>
> Fixes: b177892d2d0e ("vpci/msix: handle accesses adjacent to the MSI-X
> table")
> Signed-off-by: Nicola Vetrini <nicola.vetrini@bugseng.com>
> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
> ---
> Changes in v2:
> - Corrected wrong prefix in the commit subject.
>
> CC-ing maintainers from "THE REST" as well, perhaps this trivial change
> can go
> in straight away.
> ---
> xen/drivers/vpci/msix.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/xen/drivers/vpci/msix.c b/xen/drivers/vpci/msix.c
> index 25bde77586a4..f9df506f29bf 100644
> --- a/xen/drivers/vpci/msix.c
> +++ b/xen/drivers/vpci/msix.c
> @@ -223,7 +223,7 @@ static void __iomem *get_table(const struct vpci
> *vpci, unsigned int slot)
> return msix->table[slot];
> }
>
> -unsigned int get_slot(const struct vpci *vpci, unsigned long addr)
> +static unsigned int get_slot(const struct vpci *vpci, unsigned long
> addr)
> {
> unsigned long pfn = PFN_DOWN(addr);
>
> --
> 2.34.1
Any chance of an ack? The maintainer for that file is Roger Pau Monné as
far as I can tell.
--
Nicola Vetrini, BSc
Software Engineer, BUGSENG srl (https://bugseng.com)
next prev parent reply other threads:[~2023-08-23 14:09 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-17 12:39 [XEN PATCH v2 0/3] xen: fix inclusions and static storage duration Nicola Vetrini
2023-08-17 12:39 ` [XEN PATCH v2 1/3] vm_event: rework inclusions to use arch-indipendent header Nicola Vetrini
2023-08-17 18:00 ` Stefano Stabellini
2023-08-17 12:39 ` [XEN PATCH v2 2/3] vpci/msix: make 'get_slot' static Nicola Vetrini
2023-08-23 14:09 ` Nicola Vetrini [this message]
2023-08-23 14:14 ` Roger Pau Monné
2023-08-17 12:39 ` [XEN PATCH v2 3/3] drivers/video: make declarations of defined functions available Nicola Vetrini
2023-08-17 13:28 ` Jan Beulich
2023-08-17 14:52 ` Nicola Vetrini
2023-08-17 15:02 ` Jan Beulich
2023-08-17 16:04 ` Nicola Vetrini
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=83384f49acf61489588faf76e54fa106@bugseng.com \
--to=nicola.vetrini@bugseng.com \
--cc=andrew.cooper3@citrix.com \
--cc=ayan.kumar.halder@amd.com \
--cc=consulting@bugseng.com \
--cc=george.dunlap@citrix.com \
--cc=jbeulich@suse.com \
--cc=julien@xen.org \
--cc=michal.orzel@amd.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.