Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965045AbVKVVNu (ORCPT ); Tue, 22 Nov 2005 16:13:50 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965049AbVKVVNr (ORCPT ); Tue, 22 Nov 2005 16:13:47 -0500 Received: from smtp.osdl.org ([65.172.181.4]:44704 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S965045AbVKVVNh (ORCPT ); Tue, 22 Nov 2005 16:13:37 -0500 Date: Tue, 22 Nov 2005 13:08:44 -0800 From: Chris Wright To: linux-kernel@vger.kernel.org, stable@kernel.org, mac@melware.de Cc: Justin Forbes , Zwane Mwaikambo , "Theodore Ts'o" , Randy Dunlap , Dave Jones , Chuck Wolber , torvalds@osdl.org, akpm@osdl.org, alan@lxorguk.ukuu.org.uk, Adrian Bunk , kai.germaschewski@gmx.de, isdn4linux@listserv.isdn4linux.de, kkeil@suse.de, Armin Schindler Subject: [patch 20/23] drivers/isdn/hardware/eicon/os_4bri.c: correct the xdiLoadFile() signature Message-ID: <20051122210844.GU28140@shell0.pdx.osdl.net> References: <20051122205223.099537000@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline; filename="drivers-isdn-hardware-eicon-os_4bri.c-correct-the-xdiloadfile-signature.patch" User-Agent: Mutt/1.5.6i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1356 Lines: 43 -stable review patch. If anyone has any objections, please let us know. ------------------ It's not good if caller and callee disagree regarding the type of the arguments. In this case, this could cause problems on 64bit architectures. Signed-off-by: Adrian Bunk Signed-off-by: Armin Schindler Signed-off-by: Greg Kroah-Hartman Signed-off-by: Chris Wright --- drivers/isdn/hardware/eicon/os_4bri.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- linux-2.6.14.2.orig/drivers/isdn/hardware/eicon/os_4bri.c +++ linux-2.6.14.2/drivers/isdn/hardware/eicon/os_4bri.c @@ -16,6 +16,7 @@ #include "diva_pci.h" #include "mi_pc.h" #include "dsrv4bri.h" +#include "helpers.h" static void *diva_xdiLoadFileFile = NULL; static dword diva_xdiLoadFileLength = 0; @@ -815,7 +816,7 @@ diva_4bri_cmd_card_proc(struct _diva_os_ return (ret); } -void *xdiLoadFile(char *FileName, unsigned long *FileLength, +void *xdiLoadFile(char *FileName, dword *FileLength, unsigned long lim) { void *ret = diva_xdiLoadFileFile; -- - 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/