Re: [BUILD-FAILURE] next-20081217-s390x-'struct device' has no member named 'knode_parent'

Kamalesh Babulal
2008-12-18T17:18:18Z

* Martin Schwidefsky <schwidefsky@de.ibm.com> [2008-12-18 10:47:45]:

> On Wed, 2008-12-17 at 23:47 +0530, Kamalesh Babulal wrote:
> > drivers/s390/cio/device.c: In function 'io_subchannel_register':
> > drivers/s390/cio/device.c:913: error: 'struct device' has no member
> > named 'knode_parent'
> > make[2]: *** [drivers/s390/cio/device.o] Error 1
> > make[1]: *** [drivers/s390/cio] Error 2
> > make: *** [drivers/s390] Error 2
>
> Should be fixed now by the following patch from Cornelia:
>
> commit efe46b59567ae999ff7d344170d21f093159ad80
> Author: Cornelia Huck <cornelia.huck@de.ibm.com>
> Date: Thu Dec 18 10:26:55 2008 +0100
>
> [S390] cio: Use device_is_registered().
>
> Check if a ccw device is registered via device_is_registered()
> and not via the old kludge of checking the membership in driver
> core internal klists.
>
> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
>
> You'll find the fix in the features branch of git390 which will be
> included in the next linux-next kernel.

Hi Martin,

Thanks, the patch fixes the build failure.I tested the patch with
today's next (20081218), which also has the same build failure.

>
> --
> blue skies,
> Martin.
>
> "Reality continues to ruin my life." - Calvin.
>
>

--
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.