lkml.org 
[lkml]   [1999]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectCompiler warning on linux/arch/i386/apm.c
Compiling Linux (2.2.7, with gcc-2.7.2.3) I found the following warnings
(no other warning in
Linux [also with egcs]) :

apm.c: In function `suspend':
apm.c:778: warning: unused variable `flags'
apm.c: In function `apm_get_info':
apm.c:1187: warning: unused variable `nbat'
apm.c: At top level:
apm.c:607: warning: `apm_get_battery_status' defined but not used


( With egcs 1.1.2 I have this extra warning:
apm.c:295: warning: `regparm' attribute directive ignored
)


My configuration:
(...)
CONFIG_APM=y
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
# CONFIG_APM_DO_ENABLE is not set
CONFIG_APM_CPU_IDLE=y
# CONFIG_APM_DISPLAY_BLANK is not set
# CONFIG_APM_POWER_OFF is not set
# CONFIG_APM_IGNORE_MULTIPLE_SUSPEND is not set
# CONFIG_APM_IGNORE_SUSPEND_BOUNCE is not set
CONFIG_APM_RTC_IS_GMT=y
# CONFIG_APM_ALLOW_INTS is not set
(...)



Giacomo Catenazzi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.067 / U:1.628 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site