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]
Date:	Fri, 6 Jun 2014 08:37:48 -0500
From:	Rob Herring <robherring2@...il.com>
To:	Magnus Damm <magnus.damm@...il.com>
Cc:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Grant Likely <grant.likely@...aro.org>,
	Rob Herring <robh+dt@...nel.org>
Subject: Re: [PATCH 01/02] of: Add OF_ADDRESS=n stub for of_can_translate_address()

On Fri, Jun 6, 2014 at 6:59 AM, Magnus Damm <magnus.damm@...il.com> wrote:
> From: Magnus Damm <damm+renesas@...nsource.se>
>
> Add a stub for the CONFIG_OF_ADDRESS=n case of
> of_translate_address(). The return value for the
> stub is false which is in sync with when the full
> version of the function does not support address
> translation. Added to allow removal of Kconfig
> dependency handling for CONFIG_OF_ADDRESS.

of_can_translate_address is gone in 3.16.

Rob

>
> Signed-off-by: Magnus Damm <damm+renesas@...nsource.se>
> ---
>
>  include/linux/of_address.h |    5 +++++
>  1 file changed, 5 insertions(+)
>
> --- 0001/include/linux/of_address.h
> +++ work/include/linux/of_address.h     2014-06-06 19:04:44.000000000 +0900
> @@ -64,6 +64,11 @@ extern struct of_pci_range *of_pci_range
>                                         struct of_pci_range_parser *parser,
>                                         struct of_pci_range *range);
>  #else /* CONFIG_OF_ADDRESS */
> +static inline bool of_can_translate_address(struct device_node *dev)
> +{
> +       return false;
> +}
> +
>  static inline struct device_node *of_find_matching_node_by_address(
>                                         struct device_node *from,
>                                         const struct of_device_id *matches,
--
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