From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Alyssa Ross <hi@alyssa.is>
Cc: Arnd Bergmann <arnd@arndb.de>,
"open list:VMWARE VMCI DRIVER" <linux-kernel@vger.kernel.org>,
Bryan Tan <bryan-bt.tan@broadcom.com>,
Vishnu Dasa <vishnu.dasa@broadcom.com>,
Broadcom internal kernel review list
<bcm-kernel-feedback-list@broadcom.com>
Subject: Re: [PATCH RESEND] VMCI: remove unused ioctl definitions
Date: Fri, 20 Dec 2024 08:17:23 +0100 [thread overview]
Message-ID: <2024122055-fall-publisher-6f76@gregkh> (raw)
In-Reply-To: <fzdcrz4yfedokmbm22h2iwsluix4jwejwaltuwcdr6kz3yu6eu@nue5xc6ayevo>
On Fri, Dec 20, 2024 at 12:29:57AM +0100, Alyssa Ross wrote:
> IOCTL_VMCI_SOCKETS_VERSION and IOCTL_VMCI_SOCKETS_GET_AF_VALUE were
> never implemented, because VSOCK ended up being implemented as a
> generic mechanism with a static AF value. Likewise,
> IOCTL_VMCI_SOCKETS_GET_LOCAL_CID ended up being implemented as
> IOCTL_VM_SOCKETS_GET_LOCAL_CID.
>
> This isn't a UAPI header, so it should be fine to remove the unused
> values. I've left a comment noting IOCTL_VM_SOCKETS_GET_LOCAL_CID is
> in the VMCI range to avoid unintentional reuse.
>
> Signed-off-by: Alyssa Ross <hi@alyssa.is>
> ---
> Hi misc maintainers! I'm sending this version of the patch to you
> because the VMWare VMCI maintainers don't seem to be around any more.
> The last message on lore from either of them was in May. Since then,
> I've submitted this patch twice, and haven't heard anything in response.
>
> include/linux/vmw_vmci_defs.h | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/include/linux/vmw_vmci_defs.h b/include/linux/vmw_vmci_defs.h
> index 6fb663b36f72..c2df94696593 100644
> --- a/include/linux/vmw_vmci_defs.h
> +++ b/include/linux/vmw_vmci_defs.h
> @@ -453,9 +453,7 @@ enum {
> #define IOCTL_VMCI_CTX_GET_CPT_STATE _IO(7, 0xb1)
> #define IOCTL_VMCI_CTX_SET_CPT_STATE _IO(7, 0xb2)
> #define IOCTL_VMCI_GET_CONTEXT_ID _IO(7, 0xb3)
> -#define IOCTL_VMCI_SOCKETS_VERSION _IO(7, 0xb4)
> -#define IOCTL_VMCI_SOCKETS_GET_AF_VALUE _IO(7, 0xb8)
> -#define IOCTL_VMCI_SOCKETS_GET_LOCAL_CID _IO(7, 0xb9)
> +/*IOCTL_VM_SOCKETS_GET_LOCAL_CID _IO(7, 0xb9)*/
Why is just this one left as a comment? Shoudn't you just delet them
all?
thanks,
greg k-h
next prev parent reply other threads:[~2024-12-20 7:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-19 23:29 Alyssa Ross
2024-12-20 6:40 ` Vishnu Dasa
2024-12-20 7:17 ` Greg Kroah-Hartman [this message]
2024-12-20 11:52 ` Alyssa Ross
-- strict thread matches above, loose matches on Subject: below --
2024-11-02 10:15 Alyssa Ross
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=2024122055-fall-publisher-6f76@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=arnd@arndb.de \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=bryan-bt.tan@broadcom.com \
--cc=hi@alyssa.is \
--cc=linux-kernel@vger.kernel.org \
--cc=vishnu.dasa@broadcom.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®