lkml.org 
[lkml]   [2015]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] regulator: core: mark lock functions as __maybe_unused
On Wed, Oct 07, 2015 at 12:12:09PM +0200, Arnd Bergmann wrote:

> The best way to avoid these would be to add the code that will
> use these functions. If that still takes a while, this patch
> at least shuts up the compiler by marking the functions
> as __maybe_unused. The same could be achieved by marking them
> as static inline or non-static, or by hiding them from the
> compiler, but those seemed less appropriate.

That code is still in review, it's not looking too hard to get merged.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2015-10-07 12:41    [W:0.048 / U:1.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site