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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070508055431.GA21009@localhost.localdomain>
Date:	Tue, 8 May 2007 15:54:31 +1000
From:	David Gibson <david@...son.dropbear.id.au>
To:	Vitaly Bordug <vitb@...nel.crashing.org>
Cc:	linux-pcmcia@...ts.infradead.org, linuxppc-dev@...abs.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/3] [POWERPC] dts: kill hardcoded phandles

On Tue, May 08, 2007 at 09:48:56AM +0400, Vitaly Bordug wrote:
> 
> Removed explicit linux,phandle usage. Using references and labels now in
> PQ and PQ2 boards currently supported in arch/powerpc.
> Signed-off-by: Vitaly Bordug <vitb@...nel.crashing.org>
> 
> ---
> 
>  arch/powerpc/boot/dts/mpc8272ads.dts |   42 ++++++++++++----------------------
>  arch/powerpc/boot/dts/mpc866ads.dts  |   31 +++++++++----------------
>  arch/powerpc/boot/dts/mpc885ads.dts  |    2 +-
>  3 files changed, 27 insertions(+), 48 deletions(-)
> 
> diff --git a/arch/powerpc/boot/dts/mpc8272ads.dts b/arch/powerpc/boot/dts/mpc8272ads.dts
> index 423eedc..83461fe 100644
> --- a/arch/powerpc/boot/dts/mpc8272ads.dts
> +++ b/arch/powerpc/boot/dts/mpc8272ads.dts
> @@ -14,12 +14,10 @@
>         compatible = "MPC8260ADS";
>         #address-cells = <1>;
>         #size-cells = <1>;
> -       linux,phandle = <100>;
>  
>         cpus {
>                 #address-cells = <1>;
>                 #size-cells = <0>;
> -               linux,phandle = <200>;
>  
>                 PowerPC,8272@0 {
>                         device_type = "cpu";
> @@ -32,12 +30,10 @@
>                         bus-frequency = <0>;
>                         clock-frequency = <0>;
>                         32-bit;
> -                       linux,phandle = <201>;
>                 };
>         };
>  
> -       interrupt-controller@...00000 {
> -               linux,phandle = <f8200000>;
> +		pci_pic:interrupt-controller@...00000 {

I'd like to establish a convention of putting a space after the : and
using capitals for labels unless there's a strong reason not to in a
particular case.  It makes them easier to visually distinguish next to
the node name.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson
-
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ