From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932696AbZHDJSM (ORCPT ); Tue, 4 Aug 2009 05:18:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932686AbZHDJSL (ORCPT ); Tue, 4 Aug 2009 05:18:11 -0400 Received: from mga06.intel.com ([134.134.136.21]:42839 "EHLO orsmga101.jf.intel.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932683AbZHDJSK (ORCPT ); Tue, 4 Aug 2009 05:18:10 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.43,320,1246863600"; d="scan'208";a="538419706" Message-ID: <4A77FCCC.7040608@linux.intel.com> Date: Tue, 04 Aug 2009 11:18:04 +0200 From: Andi Kleen User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: Jin Dongming CC: "H.Peter Anvin" , LKLM , Ingo Molnar , Huang Ying , Kenji Kaneshige , Hidetoshi Seto Subject: Re: [PATCH] x86, mce: cleanup initcall of debugfs for mce References: <4A77CEAB.4030909@np.css.fujitsu.com> In-Reply-To: <4A77CEAB.4030909@np.css.fujitsu.com> Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > int mce_severity(struct mce *a, int tolerant, char **msg); > -struct dentry *mce_get_debugfs_dir(void); > +int __init severities_debugfs_init(struct dentry *dmce); __init is not needed on prototypes. Sorry but I think it's better to have an own initcall per file, that makes everything more self contained and easier to read. -Andi