Thread (3 messages) 3 messages, 3 authors, 2015-09-17

Re: [PATCH 03/13] Move COMPAT_ATM_ADDPARTY to net/atm/svc.c

From: Palmer Dabbelt <palmer@dabbelt.com>
Date: 2015-09-17 20:53:16
Also in: linux-api, linux-arch, linux-fsdevel, lkml

Possibly related (same subject, not in this thread)

On Thu, 17 Sep 2015 02:57:12 PDT (-0700), dhowells@redhat.com wrote:
Palmer Dabbelt [off-list ref] wrote:
quoted
+#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
I wonder if it would hurt to ditch the conditionals entirely.  It only eats
cpp namespace, not C namespace so it won't affect the output if it is not used
because the code that uses it is compiled out.
Makes sense to me.


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help