[lkml]   [2001]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread

On official 2.4.9 kernel the included NTFS driver doesn't compile.
The problem was that unistr.c was using min macro without
it being defined.

The quick fix is to include linux/kernel.h which
defines this macro.

Please, apply this to stock kernel ASAP!
The official kernel is now broken.

Here is the patch:
Index: linux/fs/ntfs/unistr.c
RCS file: /usr/local/CVSroot/linux-2.4/fs/ntfs/unistr.c,v
retrieving revision 2.4
diff -c -r2.4 unistr.c
*** linux/fs/ntfs/unistr.c 2001/08/19 17:08:19 2.4
--- linux/fs/ntfs/unistr.c 2001/08/20 13:02:46
*** 23,28 ****
--- 23,29 ----

#include <linux/string.h>
#include <asm/byteorder.h>
+ #include <linux/kernel.h>

#include "unistr.h"
#include "macros.h"

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:57    [W:0.019 / U:0.752 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site