netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Huth <thuth@redhat.com>
To: Palmer Dabbelt <palmer@dabbelt.com>,
	linux-api@vger.kernel.org, linux-kernel@vger.kernel.org,
	davem@davemloft.net, Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>
Cc: viro@zeniv.linux.org.uk, aishchuk@linux.vnet.ibm.com,
	aarcange@redhat.com, akpm@linux-foundation.org, luto@kernel.org,
	acme@kernel.org, bhe@redhat.com, 3chas3@gmail.com,
	chris@zankel.net, dave@sr71.net, dyoung@redhat.com,
	drysdale@google.com, ebiederm@xmission.com, geoff@infradead.org,
	gregkh@linuxfoundation.org, hpa@zytor.com, mingo@kernel.org,
	iulia.manda21@gmail.com, plagnioj@jcrosoft.com, jikos@kernel.org,
	josh@joshtriplett.org, linux-arch@vger.kernel.org,
	linux-fsdevel@vger.kernel.org, mathieu.desnoyers@efficios.com,
	jcmvbkbc@gmail.com, paulmck@linux.vnet.ibm.com,
	a.p.zijlstra@chello.nl, tglx@linutronix.de, vgoyal@redhat.com,
	x86@kernel.org, arnd@arndb.de, dhowells@redhat.com,
	peterz@infradead.org, netdev@vger.kernel.org
Subject: Re: [PATCH 03/14] Move COMPAT_ATM_ADDPARTY to net/atm/svc.c
Date: Fri, 10 Feb 2023 15:55:45 +0100	[thread overview]
Message-ID: <2344ac16-781e-8bfa-ec75-e71df0f3ed28@redhat.com> (raw)
In-Reply-To: <1447119071-19392-4-git-send-email-palmer@dabbelt.com>

On 10/11/2015 02.31, Palmer Dabbelt wrote:
> This used to be behind an #ifdef COMPAT_COMPAT, so most of userspace
> wouldn't have seen the definition before.  Unfortunately this header
> file became visible to userspace, so the definition has instead been
> moved to net/atm/svc.c (the only user).
> 
> Signed-off-by: Palmer Dabbelt <palmer@dabbelt.com>
> Reviewed-by: Andrew Waterman <waterman@eecs.berkeley.edu>
> Reviewed-by: Albert Ou <aou@eecs.berkeley.edu>
> ---
>   include/uapi/linux/atmdev.h | 4 ----
>   net/atm/svc.c               | 5 +++++
>   2 files changed, 5 insertions(+), 4 deletions(-)
> 
> diff --git a/include/uapi/linux/atmdev.h b/include/uapi/linux/atmdev.h
> index 93e0ec0..3dcec70 100644
> --- a/include/uapi/linux/atmdev.h
> +++ b/include/uapi/linux/atmdev.h
> @@ -100,10 +100,6 @@ struct atm_dev_stats {
>   					/* use backend to make new if */
>   #define ATM_ADDPARTY  	_IOW('a', ATMIOC_SPECIAL+4,struct atm_iobuf)
>    					/* add party to p2mp call */
> -#ifdef CONFIG_COMPAT
> -/* It actually takes struct sockaddr_atmsvc, not struct atm_iobuf */
> -#define COMPAT_ATM_ADDPARTY  	_IOW('a', ATMIOC_SPECIAL+4,struct compat_atm_iobuf)
> -#endif
>   #define ATM_DROPPARTY 	_IOW('a', ATMIOC_SPECIAL+5,int)
>   					/* drop party from p2mp call */
>   
> diff --git a/net/atm/svc.c b/net/atm/svc.c
> index 3fa0a9e..9e2e6ef 100644
> --- a/net/atm/svc.c
> +++ b/net/atm/svc.c
> @@ -27,6 +27,11 @@
>   #include "signaling.h"
>   #include "addr.h"
>   
> +#ifdef CONFIG_COMPAT
> +/* It actually takes struct sockaddr_atmsvc, not struct atm_iobuf */
> +#define COMPAT_ATM_ADDPARTY _IOW('a', ATMIOC_SPECIAL+4, struct compat_atm_iobuf)
> +#endif
> +
>   static int svc_create(struct net *net, struct socket *sock, int protocol,
>   		      int kern);
>   

  Hi!

The CONFIG_* switch is still there in the atmdev.h uapi header ... could 
somebody please pick this patch up to fix it?

  Thanks,
   Thomas


       reply	other threads:[~2023-02-10 14:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1446579994-9937-1-git-send-email-palmer@dabbelt.com>
     [not found] ` <1447119071-19392-1-git-send-email-palmer@dabbelt.com>
     [not found]   ` <1447119071-19392-4-git-send-email-palmer@dabbelt.com>
2023-02-10 14:55     ` Thomas Huth [this message]
2023-02-10 15:10       ` [PATCH 03/14] Move COMPAT_ATM_ADDPARTY to net/atm/svc.c Arnd Bergmann

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=2344ac16-781e-8bfa-ec75-e71df0f3ed28@redhat.com \
    --to=thuth@redhat.com \
    --cc=3chas3@gmail.com \
    --cc=a.p.zijlstra@chello.nl \
    --cc=aarcange@redhat.com \
    --cc=acme@kernel.org \
    --cc=aishchuk@linux.vnet.ibm.com \
    --cc=akpm@linux-foundation.org \
    --cc=arnd@arndb.de \
    --cc=bhe@redhat.com \
    --cc=chris@zankel.net \
    --cc=dave@sr71.net \
    --cc=davem@davemloft.net \
    --cc=dhowells@redhat.com \
    --cc=drysdale@google.com \
    --cc=dyoung@redhat.com \
    --cc=ebiederm@xmission.com \
    --cc=edumazet@google.com \
    --cc=geoff@infradead.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=hpa@zytor.com \
    --cc=iulia.manda21@gmail.com \
    --cc=jcmvbkbc@gmail.com \
    --cc=jikos@kernel.org \
    --cc=josh@joshtriplett.org \
    --cc=kuba@kernel.org \
    --cc=linux-api@vger.kernel.org \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luto@kernel.org \
    --cc=mathieu.desnoyers@efficios.com \
    --cc=mingo@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=palmer@dabbelt.com \
    --cc=paulmck@linux.vnet.ibm.com \
    --cc=peterz@infradead.org \
    --cc=plagnioj@jcrosoft.com \
    --cc=tglx@linutronix.de \
    --cc=vgoyal@redhat.com \
    --cc=viro@zeniv.linux.org.uk \
    --cc=x86@kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).