Re: 2.6.34-rc6 regression: pcmcia no longer compiles

Previous thread: significant variation in performance counters on POWER6 by Victor Javier on Monday, May 3, 2010 - 11:54 pm. (1 message)

Next thread: Re: 2.6.33.3: possible recursive locking detected by Avi Kivity on Tuesday, May 4, 2010 - 1:37 am. (7 messages)
From: Pavel Machek
Date: Monday, May 3, 2010 - 9:14 pm

Hi!

-rc5 compiled ok with similar config.

Now I get:

  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  CC      drivers/pcmcia/pcmcia_ioctl.o
drivers/pcmcia/pcmcia_ioctl.c: In function 'ds_open':
drivers/pcmcia/pcmcia_ioctl.c:714: error: 'struct <anonymous>' has no member named 'present'
drivers/pcmcia/pcmcia_ioctl.c: In function 'ds_read':
drivers/pcmcia/pcmcia_ioctl.c:773: error: 'struct <anonymous>' has no member named 'dead'
drivers/pcmcia/pcmcia_ioctl.c: In function 'ds_ioctl':
drivers/pcmcia/pcmcia_ioctl.c:841: error: 'struct <anonymous>' has no member named 'dead'
make[2]: *** [drivers/pcmcia/pcmcia_ioctl.o] Error 1
make[1]: *** [drivers/pcmcia] Error 2
make: *** [drivers] Error 2


-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--

From: Marc Zyngier
Date: Tuesday, May 4, 2010 - 4:33 am

Does the attached patch fix it (compile-tested only)?

        M.
-- 
Who you jivin' with that Cosmik Debris?
From: Dominik Brodowski
Date: Tuesday, May 4, 2010 - 1:19 pm

> Does the attached patch fix it (compile-tested only)?

Yes, it looks good -- many thanks! Applied your patch to pcmcia-urgent.

Best,
	Dominik
--

Previous thread: significant variation in performance counters on POWER6 by Victor Javier on Monday, May 3, 2010 - 11:54 pm. (1 message)

Next thread: Re: 2.6.33.3: possible recursive locking detected by Avi Kivity on Tuesday, May 4, 2010 - 1:37 am. (7 messages)