Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

thinkpad_ec.c:469:1: warning: the frame size of 1728 bytes is larger than 1024 bytes [-Wframe-larger-than=] #21

Open
Sol-Illadan opened this issue May 30, 2015 · 0 comments

Comments

@Sol-Illadan
Copy link

I have tried to compile & install the tp_smapi module on my Lenovo Thinkpad T500 & encountered an error. Below is the output of the make command in my console:

root@Forge:/storage/Repository/git/tp_smapi# make install HDAPS=1 FORCE_IO=1
make -C /lib/modules/3.19.0-18-generic/build M=/storage/Repository/git/tp_smapi O=/lib/modules/3.19.0-18-generic/build modules
make[1]: Entering directory '/usr/src/linux-headers-3.19.0-18-generic'
make[2]: Entering directory '/usr/src/linux-headers-3.19.0-18-generic'
  CC [M]  /storage/Repository/git/tp_smapi/thinkpad_ec.o
/storage/Repository/git/tp_smapi/thinkpad_ec.c: In function ‘check_dmi_for_ec’:
/storage/Repository/git/tp_smapi/thinkpad_ec.c:469:1: warning: the frame size of 1728 bytes is larger than 1024 bytes [-Wframe-larger-than=]
 }
 ^
  CC [M]  /storage/Repository/git/tp_smapi/tp_smapi.o
  CC [M]  /storage/Repository/git/tp_smapi/hdaps.o
  Building modules, stage 2.
  MODPOST 3 modules
  CC      /storage/Repository/git/tp_smapi/hdaps.mod.o
  LD [M]  /storage/Repository/git/tp_smapi/hdaps.ko
  CC      /storage/Repository/git/tp_smapi/thinkpad_ec.mod.o
  LD [M]  /storage/Repository/git/tp_smapi/thinkpad_ec.ko
  CC      /storage/Repository/git/tp_smapi/tp_smapi.mod.o
  LD [M]  /storage/Repository/git/tp_smapi/tp_smapi.ko
make[2]: Leaving directory '/usr/src/linux-headers-3.19.0-18-generic'
make[1]: Leaving directory '/usr/src/linux-headers-3.19.0-18-generic'
rm -f /lib/modules/3.19.0-18-generic/kernel/drivers/platform/x86/{thinkpad_ec,tp_smapi,tp_base}.ko
rm -f /lib/modules/3.19.0-18-generic/kernel/drivers/firmware/{thinkpad_ec,tp_smapi,tp_base}.ko
rm -f /lib/modules/3.19.0-18-generic/kernel/extra/{thinkpad_ec,tp_smapi,tp_base}.ko
rm -f /lib/modules/3.19.0-18-generic/kernel/drivers/platform/x86/hdaps.ko
rm -f /lib/modules/3.19.0-18-generic/kernel/extra/hdaps.ko
make -C /lib/modules/3.19.0-18-generic/build M=/storage/Repository/git/tp_smapi O=/lib/modules/3.19.0-18-generic/build modules_install
make[1]: Entering directory '/usr/src/linux-headers-3.19.0-18-generic'
make[2]: Entering directory '/usr/src/linux-headers-3.19.0-18-generic'
  INSTALL /storage/Repository/git/tp_smapi/hdaps.ko
Can't read private key
  INSTALL /storage/Repository/git/tp_smapi/thinkpad_ec.ko
Can't read private key
  INSTALL /storage/Repository/git/tp_smapi/tp_smapi.ko
Can't read private key
  DEPMOD  3.19.0-18-generic
make[2]: Leaving directory '/usr/src/linux-headers-3.19.0-18-generic'
make[1]: Leaving directory '/usr/src/linux-headers-3.19.0-18-generic'
depmod 3.19.0-18-generic

My Laptop Details:
Computer-
Processor : 2x Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz
Memory : 8104MB (1957MB used)

Version-
Distribution : Ubuntu 15.04
Kernel : Linux 3.19.0-18-generic (x86_64)
Compiled : #18-Ubuntu SMP Tue May 19 18:31:35 UTC 2015
C Library : Unknown
Default C Compiler : GNU C Compiler version 4.9.2 (Ubuntu 4.9.2-10ubuntu13)

@Sol-Illadan Sol-Illadan changed the title T500 thinkpad_ec.c:469:1: warning: the frame size of 1728 bytes is larger than 1024 bytes [-Wframe-larger-than=] Thinkpad T500: thinkpad_ec.c:469:1: warning: the frame size of 1728 bytes is larger than 1024 bytes [-Wframe-larger-than=] May 30, 2015
@Sol-Illadan Sol-Illadan changed the title Thinkpad T500: thinkpad_ec.c:469:1: warning: the frame size of 1728 bytes is larger than 1024 bytes [-Wframe-larger-than=] thinkpad_ec.c:469:1: warning: the frame size of 1728 bytes is larger than 1024 bytes [-Wframe-larger-than=] May 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant