Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1580501

Re: [PATCH 3/3] lockdep: new annotation lock_downgrade()

Path csiph.com!feeder.erje.net!2.eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Peter Zijlstra <peterz@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH 3/3] lockdep: new annotation lock_downgrade()
Date Tue, 14 Feb 2017 13:20:02 +0100
Message-ID <taKfo-1Mo-7@gated-at.bofh.it> (permalink)
References <t6sK5-6rG-5@gated-at.bofh.it> <t6tZw-7qr-19@gated-at.bofh.it> <t6uCd-7FA-3@gated-at.bofh.it> <t6wNI-No-27@gated-at.bofh.it>
X-Original-To "J. R. Okajima" <hooanon05g@gmail.com>
Dkim-Signature v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=UHbYNDO0Z523yM9mmO1NFAhws9VU6ftiwV/fSiY+QOQ=; b=zNxu6XsR7JAiobsXBmiaEmeau ZEDK9pjA15qwXBOm5anEwI3keTAza7V5GTPzKUYdjXrzlf7+q6Apq28ubXr4f84lp4h63/zMO7jqg BKzUfRU9R815V1eOUyoEcBsxdjGRs9HBWMlHGbWTrjhRLi0U/9dRKPTYlFxHWiL4nt1rG9kcjpnrl 5nyVlyxxMQhnRWp8Genp2z/1KF8QMKuPLSJawTBZAN7iKdp12/m5q0V1TSzlpTIbzqRnlUEOfpthT Nirs6/yS2mf/QJlPsDbPvGHt6WCdZc0VPzBYe+UfHcCNyR7Y48V4oXeV07MSssSwaLEOj9/B6cVYQ 2BHjZiDOg==;
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.23.1 (2014-03-12)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 16
Organization linux.* mail to news gateway
X-Original-Cc kbuild test robot <lkp@intel.com>, kbuild-all@01.org, linux-kernel@vger.kernel.org
X-Original-Date Tue, 14 Feb 2017 13:11:41 +0100
X-Original-Message-ID <20170214121141.GU6515@twins.programming.kicks-ass.net>
X-Original-References <1486053497-9948-3-git-send-email-hooanon05g@gmail.com> <201702030137.ONyfgEno%fengguang.wu@intel.com> <20170202184540.GZ6515@twins.programming.kicks-ass.net> <2978.1486069531@jrobl>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1580501

Show key headers only | View raw


On Fri, Feb 03, 2017 at 06:05:31AM +0900, J. R. Okajima wrote:
> Peter Zijlstra:
> > > >> kernel/locking/rwsem.c:126:2: error: implicit declaration of functi=
> on 'lock_downgrade' [-Werror=3Dimplicit-function-declaration]
> > >      lock_downgrade(&sem->dep_map, _RET_IP_);
> > >      ^~~~~~~~~~~~~~
> 	:::
> > This is what you need !LOCKDEP stubs for ;-)
> 
> Ok, here is the update.
> Just one line added.

Thanks!

(this version was white-space mangled but I took the old one and added
the one line).

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 3/3] lockdep: new annotation lock_downgrade() Peter Zijlstra <peterz@infradead.org> - 2017-02-14 13:20 +0100

csiph-web