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

From: Martin Schwidefsky <[email-masked]>
Date: Thu, 18 Dec 2008 10:47:45 +0100

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 <[email-masked]>
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 <[email-masked]>
    Signed-off-by: Martin Schwidefsky <[email-masked]>

You'll find the fix in the features branch of git390 which will be
included in the next linux-next kernel.

-- 
blue skies,
  Martin.

"Reality continues to ruin my life." - Calvin.