2.6.12-rc5-mm1: drivers/char/tpm/ compile errors with gcc 2.95

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It seems it's fix-tpm-driver-sysfs-owernship-changes.patch that causes 
the following compile errors with gcc 2.95:

<--  snip  -->

...
  CC      drivers/char/tpm/tpm_nsc.o
drivers/char/tpm/tpm_nsc.c:231: warning: initialization from incompatible pointer type
drivers/char/tpm/tpm_nsc.c:232: warning: initialization from incompatible pointer type
drivers/char/tpm/tpm_nsc.c:233: warning: initialization from incompatible pointer type
drivers/char/tpm/tpm_nsc.c:234: warning: initialization from incompatible pointer type
drivers/char/tpm/tpm_nsc.c:254: unknown field `fops' specified in initializer
drivers/char/tpm/tpm_nsc.c:254: warning: missing braces around initializer
drivers/char/tpm/tpm_nsc.c:254: warning: (near initialization for `tpm_nsc.miscdev')
drivers/char/tpm/tpm_nsc.c:254: warning: initialization makes integer from pointer without a cast
make[3]: *** [drivers/char/tpm/tpm_nsc.o] Error 1

<--  snip  -->

...
  CC      drivers/char/tpm/tpm_atmel.o
drivers/char/tpm/tpm_atmel.c:130: warning: initialization from incompatible pointer type
drivers/char/tpm/tpm_atmel.c:131: warning: initialization from incompatible pointer type
drivers/char/tpm/tpm_atmel.c:132: warning: initialization from incompatible pointer type
drivers/char/tpm/tpm_atmel.c:133: warning: initialization from incompatible pointer type
drivers/char/tpm/tpm_atmel.c:153: unknown field `fops' specified in initializer
drivers/char/tpm/tpm_atmel.c:153: warning: missing braces around initializer
drivers/char/tpm/tpm_atmel.c:153: warning: (near initialization for `tpm_atmel.miscdev')
drivers/char/tpm/tpm_atmel.c:153: warning: initialization makes integer from pointer without a cast
make[3]: *** [drivers/char/tpm/tpm_atmel.o] Error 1

<--  snip  -->

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux