lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20171013172736.GP4394@atomide.com>
Date:   Fri, 13 Oct 2017 10:27:37 -0700
From:   Tony Lindgren <tony@...mide.com>
To:     Arnd Bergmann <arnd@...db.de>
Cc:     linux-kernel@...r.kernel.org
Subject: Re: [PATCH] bus: ti-sysc: mark PM functions as __maybe_unused

* Arnd Bergmann <arnd@...db.de> [171013 02:27]:
> The new bus driver causes a harmless compile-time warning when
> CONFIG_PM is disabled:
> 
> drivers/bus/ti-sysc.c:440:12: error: 'sysc_runtime_resume' defined but not used [-Werror=unused-function]
>  static int sysc_runtime_resume(struct device *dev)
>             ^~~~~~~~~~~~~~~~~~~
> drivers/bus/ti-sysc.c:421:12: error: 'sysc_runtime_suspend' defined but not used [-Werror=unused-function]
>  static int sysc_runtime_suspend(struct device *dev)
>             ^~~~~~~~~~~~~~~~~~~~
> 
> This marks the two unused functions as __maybe_unused to shut up
> that warning.

Thanks applying into omap-for-v4.15/ti-sysc.

Regards,

Tony

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ