[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <799.1420473702@warthog.procyon.org.uk>
Date: Mon, 05 Jan 2015 16:01:42 +0000
From: David Howells <dhowells@...hat.com>
To: Pranith Kumar <bobby.prani@...il.com>
Cc: dhowells@...hat.com, James Morris <james.l.morris@...cle.com>,
Andreea-Cristina Bernat <bernat.ada@...il.com>,
Stephen Hemminger <shemming@...cade.com>,
Don Zickus <dzickus@...hat.com>,
linux-kernel@...r.kernel.org (open list)
Subject: Re: [PATCH] assoc_array: Include rcupdate.h for call_rcu() definition
Pranith Kumar <bobby.prani@...il.com> wrote:
> Include rcupdate.h header to provide call_rcu() definition. This was implicitly
> being provided by slab.h file which include srcu.h somewhere in its include
> hierarchy which in-turn included rcupdate.h.
>
> Lately, tinification effort added support to remove srcu entirely because of
> which we are encountering build errors like
>
> lib/assoc_array.c: In function 'assoc_array_apply_edit':
> lib/assoc_array.c:1426:2: error: implicit declaration of function 'call_rcu' [-Werror=implicit-function-declaration]
> cc1: some warnings being treated as errors
>
> Fix these by including rcupdate.h explicitly.
>
> Signed-off-by: Pranith Kumar <bobby.prani@...il.com>
> Reported-by: Scott Wood <scottwood@...escale.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists