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:	Sat, 12 Apr 2008 05:01:27 -0400
From:	Jeff Garzik <jgarzik@...ox.com>
To:	Andy Fleming <afleming@...escale.com>
CC:	netdev@...r.kernel.org
Subject: Re: [PATCH v2.6.26] phy: Change mii_bus id field to a string

Andy Fleming wrote:
> Having the id field be an int was making more complex bus topologies
> excessively difficult.  For now, just convert it to a string, and
> change all instances of "bus->id = val" to
> snprintf(id, MII_BUS_ID_LEN, "%x", val).
> 
> Signed-off-by: Andy Fleming <afleming@...escale.com>
> ---
>  arch/powerpc/platforms/82xx/ep8248e.c     |    2 +-
>  arch/powerpc/platforms/pasemi/gpio_mdio.c |    2 +-
>  arch/powerpc/sysdev/fsl_soc.c             |    5 +++--
>  drivers/net/au1000_eth.c                  |    6 +++---
>  drivers/net/bfin_mac.c                    |    2 +-
>  drivers/net/cpmac.c                       |    5 ++---
>  drivers/net/fec_mpc52xx.c                 |    2 +-
>  drivers/net/fec_mpc52xx_phy.c             |    2 +-
>  drivers/net/fs_enet/fs_enet-main.c        |    4 ++--
>  drivers/net/fs_enet/mii-bitbang.c         |    4 ++--
>  drivers/net/fs_enet/mii-fec.c             |    4 ++--
>  drivers/net/gianfar_mii.c                 |    2 +-
>  drivers/net/macb.c                        |    2 +-
>  drivers/net/pasemi_mac.c                  |    2 +-
>  drivers/net/phy/fixed.c                   |    2 +-
>  drivers/net/sb1250-mac.c                  |    2 +-
>  drivers/net/ucc_geth.c                    |    2 +-
>  drivers/net/ucc_geth.h                    |    2 +-
>  drivers/net/ucc_geth_mii.c                |    2 +-
>  include/linux/fsl_devices.h               |    2 +-
>  include/linux/phy.h                       |   12 ++++++++----
>  21 files changed, 36 insertions(+), 32 deletions(-)

applied


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ