/[linux-patches]/genpatches-2.6/trunk/2.6.14/1116_3_eicon-signature.patch
Gentoo

Contents of /genpatches-2.6/trunk/2.6.14/1116_3_eicon-signature.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 292 - (show annotations) (download) (as text)
Tue Jan 31 21:50:53 2006 UTC (14 years, 9 months ago) by johnm
File MIME type: text/x-diff
File size: 1427 byte(s)
Large update - thanks goes to Kerin Millar for the legwork.
1 From stable-bounces@linux.kernel.org Sat Nov 19 12:21:35 2005
2 Date: Sat, 19 Nov 2005 08:58:12 +0100
3 From: Adrian Bunk <bunk@stusta.de>
4 To: mac@melware.de
5 Message-ID: <20051119075812.GC16060@stusta.de>
6 Content-Disposition: inline
7 Cc: kai.germaschewski@gmx.de, isdn4linux@listserv.isdn4linux.de, stable@kernel.org, kkeil@suse.de
8 Subject: drivers/isdn/hardware/eicon/os_4bri.c: correct the xdiLoadFile() signature
9
10 It's not good if caller and callee disagree regarding the type of the
11 arguments.
12
13 In this case, this could cause problems on 64bit architectures.
14
15
16 Signed-off-by: Adrian Bunk <bunk@stusta.de>
17 Signed-off-by: Armin Schindler <armin@melware.de>
18 Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
19 Signed-off-by: Chris Wright <chrisw@osdl.org>
20 ---
21 drivers/isdn/hardware/eicon/os_4bri.c | 3 ++-
22 1 file changed, 2 insertions(+), 1 deletion(-)
23
24 --- linux-2.6.14.2.orig/drivers/isdn/hardware/eicon/os_4bri.c
25 +++ linux-2.6.14.2/drivers/isdn/hardware/eicon/os_4bri.c
26 @@ -16,6 +16,7 @@
27 #include "diva_pci.h"
28 #include "mi_pc.h"
29 #include "dsrv4bri.h"
30 +#include "helpers.h"
31
32 static void *diva_xdiLoadFileFile = NULL;
33 static dword diva_xdiLoadFileLength = 0;
34 @@ -815,7 +816,7 @@ diva_4bri_cmd_card_proc(struct _diva_os_
35 return (ret);
36 }
37
38 -void *xdiLoadFile(char *FileName, unsigned long *FileLength,
39 +void *xdiLoadFile(char *FileName, dword *FileLength,
40 unsigned long lim)
41 {
42 void *ret = diva_xdiLoadFileFile;

  ViewVC Help
Powered by ViewVC 1.1.20