Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932292AbbLNTUx (ORCPT ); Mon, 14 Dec 2015 14:20:53 -0500 Received: from shards.monkeyblade.net ([149.20.54.216]:58902 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932224AbbLNTUq (ORCPT ); Mon, 14 Dec 2015 14:20:46 -0500 Date: Mon, 14 Dec 2015 14:20:43 -0500 (EST) Message-Id: <20151214.142043.1185024338854399910.davem@davemloft.net> To: tj@kernel.org Cc: decui@microsoft.com, pablo@netfilter.org, kaber@trash.net, kadlec@blackhole.kfki.hu, daniel@iogearbox.net, daniel.wagner@bmw-carit.de, nhorman@tuxdriver.com, lizefan@huawei.com, hannes@cmpxchg.org, netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, coreteam@netfilter.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com, ninasc@fb.com Subject: Re: [PATCH net-next] net, cgroup: cgroup_sk_updat_lock was missing initializer From: David Miller In-Reply-To: <20151214162406.GA4026@mtj.duckdns.org> References: <1449527935-27056-1-git-send-email-tj@kernel.org> <20151214162406.GA4026@mtj.duckdns.org> X-Mailer: Mew version 6.6 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 14 Dec 2015 11:20:46 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 706 Lines: 18 From: Tejun Heo Date: Mon, 14 Dec 2015 11:24:06 -0500 > bd1060a1d671 ("sock, cgroup: add sock->sk_cgroup") added global > spinlock cgroup_sk_update_lock but erroneously skipped initializer > leading to uninitialized spinlock warning. Fix it by using > DEFINE_SPINLOCK(). > > Signed-off-by: Tejun Heo > Reported-by: Dexuan Cui > Fixes: bd1060a1d671 ("sock, cgroup: add sock->sk_cgroup") Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/