Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apm_32.c Create Date:2022-07-28 08:22:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:apm_error - display an APM error*@str: information string*@err: APM BIOS return code* Write a meaningful log entry to the kernel log in the event of* an APM error. Note that this also handles (negative) kernel errors.

Proto:static void apm_error(char *str, int err)

Type:void

Parameter:

TypeParameterName
char *str
interr
499  When i < ERROR_COUNT cycle If key == err Then
501  Break
502  If i < ERROR_COUNT Then pr_notice("%s: %s\n", str, msg)
504  Else if err < 0 Then pr_notice("%s: linux error code %i\n", str, err)
506  Else pr_notice("%s: unknown error code %#2.2x\n", str, err)
Caller
NameDescribe
suspend
standby
get_event
apm_event_handler
apm
apm_exit