Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262065AbVDLIf4 (ORCPT ); Tue, 12 Apr 2005 04:35:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262046AbVDLIfz (ORCPT ); Tue, 12 Apr 2005 04:35:55 -0400 Received: from fmr21.intel.com ([143.183.121.13]:27834 "EHLO scsfmr001.sc.intel.com") by vger.kernel.org with ESMTP id S262065AbVDLIft (ORCPT ); Tue, 12 Apr 2005 04:35:49 -0400 Message-Id: <200504120835.j3C8Zmg06782@unix-os.sc.intel.com> From: "Chen, Kenneth W" To: "'Greg KH'" Cc: Subject: Prototype error in Date: Tue, 12 Apr 2005 01:35:51 -0700 X-Mailer: Microsoft Office Outlook, Build 11.0.6353 Thread-Index: AcU/Oo7mWnnpEeXuRuCpxWM38OqnuQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1230 Lines: 35 To lazy to write a patch, the inline debugfs function declaration for the following three functions disagree between CONFIG_DEBUG_FS and !CONFIG_DEBUG_FS 4th argument mismatch, looks like an obvious copy-n-paste error. u16, u32, and u32? static inline struct dentry *debugfs_create_u16(const char *name, mode_t mode, struct dentry *parent, u8 *value) { return ERR_PTR(-ENODEV); } static inline struct dentry *debugfs_create_u32(const char *name, mode_t mode, struct dentry *parent, u8 *value) { return ERR_PTR(-ENODEV); } static inline struct dentry *debugfs_create_bool(const char *name, mode_t mode, struct dentry *parent, u8 *value) { return ERR_PTR(-ENODEV); } - 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/