Skip to contentSkip to conversation

fs/unistr.c needs to include linux/kernel.h

PATCH In review Crutcher Dunnavant 1 participant 2 messages Aug 18, 2001 NTFS filesystem

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fs/unistr.c needs to include linux/kernel.h

Subject pretty much says it all, fs/unistr.h uses min(), but does not include linux/kernel.h

This causes build errors.

Signature · 3 lines
Crutcher        <[email protected]>
GCS d--- s+:>+:- a-- C++++$ UL++++$ L+++$>++++ !E PS+++ PE Y+ PGP+>++++
    R-(+++) !tv(+++) b+(++++) G+ e>++++ h+>++ r* y+>*$
fs/ntfs/unistr.c renamed from fs/ntfs/unistr.c.include +1 -0
@@ -21,6 +21,7 @@
  * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
+#include <linux/kernel.h>
 #include <linux/string.h>
 #include <asm/byteorder.h>
 
#1 lore raw

s/fs\/uni/fs\/ntfs\/uni/

++ 18/08/01 16:30 -0400 - Crutcher Dunnavant:

Quoted 1 line

Subject pretty much says it all, fs/unistr.h uses min(),

Subject pretty much says it all, fs/ntfs/unistr.h uses min(),

oopse. But the patch still holds.

Signature · 3 lines
Crutcher        <[email protected]>
GCS d--- s+:>+:- a-- C++++$ UL++++$ L+++$>++++ !E PS+++ PE Y+ PGP+>++++
    R-(+++) !tv(+++) b+(++++) G+ e>++++ h+>++ r* y+>*$