mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* broken_apm_power in dmi_scan.c - no return value
@ 2001-04-24  8:19 Alex Riesen
  0 siblings, 0 replies; only message in thread
From: Alex Riesen @ 2001-04-24  8:19 UTC (permalink / raw)
  To: LKML

Hi, dear lkml,

The mentioned function doesn't return any value, but the calling
code (dmi_check_black_list) depend on it:

static __init int broken_apm_power(struct dmi_blacklist *d)
{
	apm_info.get_power_status_broken = 1;
	printk(KERN_WARNING "BIOS strings suggest APM bugs, disabling power status reporting.\n");
    return 0; /* continue scan  */
}

In dmi_check_blacklist:
		
		if(d->callback(d)) /* callback is a pointer on a function, like broken_apm_power */
			return;

Alex Riesen


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-04-24  8:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-24  8:19 broken_apm_power in dmi_scan.c - no return value Alex Riesen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®