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  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 26 Mar 2010 10:23:14 -0500
From:	Timur Tabi <timur.tabi@...il.com>
To:	Grant Likely <grant.likely@...retlab.ca>
Cc:	devicetree-discuss@...ts.ozlabs.org, netdev@...r.kernel.org
Subject: Re: [alsa-devel] [PATCH 13/27] drivers/net/of: don't use deprecated 
	field in of_platform_driver

I'm seeing this error with this patch applied, when building for an mpc8641_hpcn

  CC      drivers/net/gianfar.o
drivers/net/gianfar.c: In function 'gfar_of_init':
drivers/net/gianfar.c:606: error: 'struct platform_device' has no
member named 'node'
drivers/net/gianfar.c:644: error: 'struct platform_device' has no
member named 'node'
drivers/net/gianfar.c: In function 'gfar_probe':
drivers/net/gianfar.c:891: error: 'struct platform_device' has no
member named 'node'
make[2]: *** [drivers/net/gianfar.o] Error 1
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2


On Thu, Mar 11, 2010 at 1:23 PM, Grant Likely <grant.likely@...retlab.ca> wrote:
> .name, .match_table and .owner are duplicated in both of_platform_driver
> and device_driver, so the of_platform_driver copies will be removed soon.
>
> Signed-off-by: Grant Likely <grant.likely@...retlab.ca>
> ---
>
>  drivers/net/can/mscan/mpc5xxx_can.c           |    8 +++++---
>  drivers/net/can/sja1000/sja1000_of_platform.c |    8 +++++---
>  drivers/net/ehea/ehea_main.c                  |    7 +++++--
>  drivers/net/fs_enet/fs_enet-main.c            |    7 +++++--
>  drivers/net/fs_enet/mii-bitbang.c             |    7 +++++--
>  drivers/net/fs_enet/mii-fec.c                 |    7 +++++--
>  drivers/net/fsl_pq_mdio.c                     |    7 +++++--
>  drivers/net/gianfar.c                         |   10 ++++++----
>  drivers/net/ibm_newemac/core.c                |    8 +++++---
>  drivers/net/ibm_newemac/mal.c                 |    8 +++++---
>  drivers/net/ibm_newemac/rgmii.c               |    8 +++++---
>  drivers/net/ibm_newemac/tah.c                 |    8 +++++---
>  drivers/net/ibm_newemac/zmii.c                |    8 +++++---
>  drivers/net/ll_temac_main.c                   |    2 +-
>  drivers/net/myri_sbus.c                       |    7 +++++--
>  drivers/net/niu.c                             |    7 +++++--
>  drivers/net/phy/mdio-gpio.c                   |    7 +++++--
>  drivers/net/sunbmac.c                         |    7 +++++--
>  drivers/net/sunhme.c                          |    7 +++++--
>  drivers/net/sunlance.c                        |    7 +++++--
>  drivers/net/sunqe.c                           |    7 +++++--
>  drivers/net/ucc_geth.c                        |    7 +++++--
>  drivers/net/xilinx_emaclite.c                 |    7 +++++--
>  23 files changed, 112 insertions(+), 54 deletions(-)

-- 
Timur Tabi
Linux kernel developer at Freescale
--
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