[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150226.112009.1387286126679105800.davem@davemloft.net>
Date: Thu, 26 Feb 2015 11:20:09 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: erik.hugne@...csson.com
Cc: netdev@...r.kernel.org, tipc-discussion@...ts.sourceforge.net,
jon.maloy@...csson.com, richard.alpe@...csson.com,
ying.xue@...driver.com
Subject: Re: [PATCH net-next 2/5] tipc: fix nullpointer bug when
subscribing to events
From: <erik.hugne@...csson.com>
Date: Thu, 26 Feb 2015 07:43:27 +0100
> @@ -312,16 +299,15 @@ static void subscr_conn_msg_event(struct net *net, int conid,
> {
> struct tipc_subscriber *subscriber = usr_data;
> struct tipc_subscription *sub = NULL;
> + struct tipc_net *tn = net_generic(net, tipc_net_id);
> +
>
> spin_lock_bh(&subscriber->lock);
Please only have one empty line between local variable declarations
and code.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists