Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753383Ab2HCIvd (ORCPT ); Fri, 3 Aug 2012 04:51:33 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:34828 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752179Ab2HCIv1 (ORCPT ); Fri, 3 Aug 2012 04:51:27 -0400 Date: Fri, 03 Aug 2012 01:51:26 -0700 (PDT) Message-Id: <20120803.015126.198679260163049459.davem@davemloft.net> To: fengguang.wu@intel.com Cc: netdev@vger.kernel.org, dan.carpenter@oracle.com, gregkh@linuxfoundation.org, devel@driverdev.osuosl.org, joe@perches.com, isdn@linux-pingi.de, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] isdnloop: fix and simplify isdnloop_init() From: David Miller In-Reply-To: <20120803073240.GA12723@localhost> References: <20120802110543.GA21745@localhost> <20120802.162156.1853851468137303302.davem@davemloft.net> <20120803073240.GA12723@localhost> X-Mailer: Mew version 6.5 on Emacs 24.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1853 Lines: 41 From: Fengguang Wu Date: Fri, 3 Aug 2012 15:32:40 +0800 > On Thu, Aug 02, 2012 at 04:21:56PM -0700, David Miller wrote: >> From: Fengguang Wu >> Date: Thu, 2 Aug 2012 19:05:43 +0800 >> >> > Fix a buffer overflow bug by removing the revision transform code. >> > >> > [ 22.016214] isdnloop-ISDN-driver Rev 1.11.6.7 >> > [ 22.097508] isdnloop: (loop0) virtual card added >> > [ 22.174400] Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: ffffffff83244972 >> > [ 22.174400] >> > [ 22.436157] Pid: 1, comm: swapper Not tainted 3.5.0-bisect-00018-gfa8bbb1-dirty #129 >> > [ 22.624071] Call Trace: >> > [ 22.720558] [] ? CallcNew+0x56/0x56 >> > [ 22.815248] [] panic+0x110/0x329 >> > [ 22.914330] [] ? isdnloop_init+0xaf/0xb1 >> > [ 23.014800] [] ? CallcNew+0x56/0x56 >> > [ 23.090763] [] __stack_chk_fail+0x2b/0x30 >> > [ 23.185748] [] isdnloop_init+0xaf/0xb1 >> > >> > Signed-off-by: Fengguang Wu >> >> The reason the "$Revision ..." prefix is there is so that automated >> version control tools will change the string automatically when code >> is committed in CVS. >> >> In the GIT era this revision style is obsolete. >> >> Therefore you might as well just delete this crap altogether. > > OK. The below updated version will simply print the hard coded > revision number as it's unlikely to change any more. This is worse, I said delete this crap altogether. -- 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/