fs/hpfs/*: fix HPFS support under 64-bit kernel
From: Max <[email protected]>
hpfs/hpfs.h line 30
Quoted 9 lines
diff -u
old/fs/hpfs/hpfs.hfs/hpfs/hpfs.hhpfs/hpfs.h renamed from fs/hpfs/hpfs.h +1
-0@@ -27,6 +27,8 @@typedef secno fnode_secno ;/* sector number of an fnode */ typedef secno anode_secno ;/* sector number of an anode */ +typedef unsigned time32_t ;/* 32-bit time_t type */
Please use u32 instead of unsigned as u32 will *always* be an unsigned 32 bit quantity ...
Cheers,
Stephen Rothwell
Stephen,
I've made my patch compatible with the rest of HPFS sources. There is a lot of places where 'unsigned' has to be precisely 32 bits long. So having 'u32' just in my small patch does not make much sense.
Max
Quoted 19 lines · Stephen Rothwell
From: Max <[email protected]>
Quoted 8 lines
diff -u
old/fs/hpfs/hpfs.hfs/hpfs/hpfs.hhpfs/hpfs.h renamed from fs/hpfs/hpfs.h +0
-0@@ -27,6 +27,8 @@typedef secno
fnode_secno; /* sector number of an fnode */
typedef secnoanode_secno; /* sector number of an anode */+typedef unsigned
time32_t; /* 32-bittime_ttype */Please use u32 instead of unsigned as u32 will *always* be an unsigned 32 bit quantity ...
Cheers,
Stephen Rothwell