Skip to contentSkip to conversation

2.6.34-rc6 regression: pcmcia no longer compiles

DISCUSSION Pavel Machek 3 participants 3 messages May 4, 2010

lore
Share & tools
lore
#0 lore raw

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

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#1 lore raw
Quoted 12 lines · Pavel Machek

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
Quoted 12 lines

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

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

        M.
Signature · 5 lines
Who you jivin' with that Cosmik Debris?
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-pcmcia-fix-compilation-after-16bit-state-lockin" filename*1*="g-cha.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100504/757d0b59/attachment.el>
#2 lore raw
Quoted 1 line

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

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

Best,
Dominik