From: Roman Zippel Date: Mon, 24 Dec 2007 00:14:12 +0000 Subject: Re: [PATCH] Avoid overflows in kernel/time.c (version 5) Message-Id: <200712240114.13431.zippel@linux-m68k.org> List-Id: References: <200712180541.lBI5fnqB028037@tazenda.hos.anvin.org> In-Reply-To: <200712180541.lBI5fnqB028037@tazenda.hos.anvin.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: "H. Peter Anvin" Cc: Andrew Morton , Linux Kernel Mailing List , Linux Arch Mailing List , Ralf Baechle , Sam Ravnborg , Paul Mundt , Richard Henderson , Michael Starvik , David Howells , Yoshinori Sato , Hirokazu Takata , Geert Uytterhoeven , "William L. Irwin" , Chris Zankel , Jan Engelhardt 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