On Thu, Nov 12, 2015 at 03:20:16PM +0100, Arnd Bergmann wrote:
> cpus_have_hwcap() is defined as a 'static' function an only used in
> one place that is inside of an #ifdef, so we get a warning when
> the only user is disabled:
> 
> arch/arm64/kernel/cpufeature.c:699:13: warning: 'cpus_have_hwcap' defined but 
> not used [-Wunused-function]
> 
> This marks the function as __maybe_unused, so the compiler knows that
> it can drop the function definition without warning about it.
> 
> Signed-off-by: Arnd Bergmann <a...@arndb.de>
> Fixes: 37b01d53ceef ("arm64/HWCAP: Use system wide safe values")
> ---
> Found on arm64 allnoconfig

I applied this patch and the other two you just posted. Thanks.

-- 
Catalin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to