lkml.org 
[lkml]   [2007]   [Dec]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] Avoid overflows in kernel/time.c (version 5)
Date
Hi,

On Monday 17 December 2007, H. Peter Anvin wrote:

> kernel/timeconst.pl | 340

I agree with Jan that it would be better to put this into scripts.
In the long term we could also detect some of the simple special cases, so we
can finally inline some of these functions again, this would mean the
generated file would go into include/linux/ and the script should be in
scripts/.

> + my ($b,$n,$d) = @_;

I noticed this already in the old script, using something else than single
letter variables would increase readability considerably.

bye, Roman


\
 
 \ /
  Last update: 2007-12-24 03:55    [W:0.046 / U:1.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site