lkml.org 
[lkml]   [2003]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[Bug 589] New: rtc won't compile because expect return from void function

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/

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