Skip to content

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

@Sol-Illadan

Description

@Sol-Illadan

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions