Skip to content

Commit

Permalink
[PATCH] drivers/isdn/hardware/eicon/os_4bri.c: correct the xdiLoadFil…
Browse files Browse the repository at this point in the history
…e() signature

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 <bunk@stusta.de>
Signed-off-by: Armin Schindler <armin@melware.de>
Cc: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Jan 9, 2006
1 parent 6e21bd9 commit 7019e7e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/isdn/hardware/eicon/os_4bri.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -815,7 +816,7 @@ diva_4bri_cmd_card_proc(struct _diva_os_xdi_adapter *a,
return (ret);
}

void *xdiLoadFile(char *FileName, unsigned long *FileLength,
void *xdiLoadFile(char *FileName, dword *FileLength,
unsigned long lim)
{
void *ret = diva_xdiLoadFileFile;
Expand Down

0 comments on commit 7019e7e

Please sign in to comment.