Thread (9 messages) read the whole thread 9 messages, 4 authors, 2024-05-23

Re: [PATCH v2] ax25: Fix refcount imbalance on inbound connections

From: Lars Kellogg-Stedman <hidden>
Date: 2024-05-21 18:31:49
Also in: linux-hams

On Tue, May 21, 2024 at 05:21:40PM GMT, Naveen Mamindlapalli wrote:
quoted
socket *newsock,
 	DEFINE_WAIT(wait);
 	struct sock *sk;
 	int err = 0;
+	ax25_cb *ax25;
+	ax25_dev *ax25_dev;
nit: Please follow reverse Christmas tree.
That is a new phrase for me; I had to look it up. Do you mean this:

        DEFINE_WAIT(wait);
        struct sock *sk;
        int err = 0;
+	      ax25_dev *ax25_dev;
+	      ax25_cb *ax25;

Or should I apply this to the entire block of variable declarations,
like this:

        struct sk_buff *skb;
        struct sock *newsk;
+       ax25_dev *ax25_dev;
        DEFINE_WAIT(wait);
        struct sock *sk;
+       ax25_cb *ax25;
        int err = 0;

Thanks,

-- 
Lars Kellogg-Stedman [off-list ref] | larsks @ {irc,twitter,github}
http://blog.oddbit.com/                | N1LKS
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help