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: <20071213162123.GA7580@kroah.com>
Date:	Thu, 13 Dec 2007 08:21:23 -0800
From:	Greg KH <greg@...ah.com>
To:	Kamalesh Babulal <kamalesh@...ux.vnet.ibm.com>
Cc:	Andrew Morton <akpm@...ux-foundation.org>,
	linux-kernel@...r.kernel.org, Andy Whitcroft <apw@...dowen.org>,
	Balbir Singh <balbir@...ux.vnet.ibm.com>
Subject: Re: 2.6.24-rc5-mm1 - build failures due to kobject changes

On Thu, Dec 13, 2007 at 08:46:02PM +0530, Kamalesh Babulal wrote:
> Hi Andrew,
> 
> The kernel build fails, due to kobjects changes
> 
> drivers/infiniband/hw/ehca/ehca_main.c: In function ???ehca_module_init???:
> drivers/infiniband/hw/ehca/ehca_main.c:947: error: ???struct device_driver??? has no member named ???kobj???
> drivers/infiniband/hw/ehca/ehca_main.c: In function ???ehca_module_exit???:
> drivers/infiniband/hw/ehca/ehca_main.c:976: error: ???struct device_driver??? has no member named ???kobj???
> make[3]: *** [drivers/infiniband/hw/ehca/ehca_main.o] Error 1
> make[2]: *** [drivers/infiniband/hw/ehca] Error 2
> make[1]: *** [drivers/infiniband] Error 2
> make: *** [drivers] Error 2

This is a simple fix to the new api, sorry, being ppc I missed it in my
build tests.

> drivers/net/ehea/ehea_main.c: In function ???ehea_driver_sysfs_add???:
> drivers/net/ehea/ehea_main.c:2812: error: ???struct device_driver??? has no member named ???kobj???
> drivers/net/ehea/ehea_main.c:2815: error: ???struct device_driver??? has no member named ???kobj???
> drivers/net/ehea/ehea_main.c:2818: error: ???struct device_driver??? has no member named ???kobj???
> drivers/net/ehea/ehea_main.c: In function ???ehea_driver_sysfs_remove???:
> drivers/net/ehea/ehea_main.c:2830: error: ???struct device_driver??? has no member named ???kobj???
> make[3]: *** [drivers/net/ehea/ehea_main.o] Error 1
> make[2]: *** [drivers/net/ehea] Error 2
> make[1]: *** [drivers/net] Error 2
> make: *** [drivers] Error 2

That's just broken and wrong.  Why are you trying to duplicate a symlink
that the driver core already creates?  I'll just delete this code,
ugh...

>   CC      drivers/net/iseries_veth.o
> drivers/net/iseries_veth.c: In function ???veth_module_init???:
> drivers/net/iseries_veth.c:1714: error: ???struct device_driver??? has no member named ???kobj???
> make[2]: *** [drivers/net/iseries_veth.o] Error 1
> make[1]: *** [drivers/net] Error 2
> make: *** [drivers] Error 2

This one I know about and have more work to do to fix properly.

thanks,

greg 'i need to install a ppc cross-compiler one of these days' k-h
--
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