lkml.org 
[lkml]   [2006]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: 2.6.16-rc4-mm2: drivers/isdn/hysdn/hysdn_net.c module_param() compile error
From
Date
On Sat, 2006-02-25 at 04:38 +0100, Adrian Bunk wrote:
> On Fri, Feb 24, 2006 at 03:10:02AM -0800, Andrew Morton wrote:
> >...
> > Changes since 2.6.16-rc4-mm1:
> >...
> > +remove-module_parm.patch
> >...
> > Current 2.6.16 queue. Some of these are a bit questionable at this stage.
> >...
>
> This causes the following compile error:

Thanks Adrian!

The hysdn_net driver #defines uint to "unsigned int" in a header.
Remove that: the typedefs in types.h have the same effect, without
breaking "uint" module_param.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

diff -urpN --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal linux-2.6.16-rc4/drivers/isdn/hysdn/hysdn_defs.h working-2.6.16-rc4-MODULE_PARM-remove/drivers/isdn/hysdn/hysdn_defs.h
--- linux-2.6.16-rc4/drivers/isdn/hysdn/hysdn_defs.h 2005-08-29 14:39:36.000000000 +1000
+++ working-2.6.16-rc4-MODULE_PARM-remove/drivers/isdn/hysdn/hysdn_defs.h 2006-02-25 18:06:06.000000000 +1100
@@ -24,8 +24,6 @@
/* storage type definitions */
/****************************/
#define uchar unsigned char
-#define uint unsigned int
-#define ulong unsigned long
#define word unsigned short

#include "ince1pc.h"
--
ccontrol: http://ozlabs.org/~rusty/ccontrol

-
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/

\
 
 \ /
  Last update: 2006-02-25 08:12    [W:0.172 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site