[Bug 589] New: rtc won't compile because expect return from void

Martin J. Bligh (mbligh@aracnet.com)
Tue, 15 Apr 2003 09:05:57 -0700


http://bugme.osdl.org/show_bug.cgi?id=589

Summary: rtc won't compile because expect return from void
function
Kernel Version: 2.5.67
Status: NEW
Severity: normal
Owner: bugme-janitors@lists.osdl.org
Submitter: jstrand1@rochester.rr.com

Distribution: Debian
Hardware Environment: P4
Software Environment: gcc 2.95.3
Problem Description:

rtc fails to compile because of this line in drivers/char/genrtc.c (in
gen_rtc_proc_output, ca line 453):

flags = get_rtc_time(&tm);

get_rtc_time is a void function. Also, though it will compile, just setting
flags to '0' would result in proc output not being accurate, since flags is
ANDed to various items.

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