lkml.org 
[lkml]   [2003]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: NTFS byte swapping
Hi,

On Tue, 18 Mar 2003, Geert Uytterhoeven wrote:
> When compiling NTFS support in 2.5.65 on a big-endian machine (m68k), I get:
>
> | fs/ntfs/compress.c:167: warning: passing arg 1 of `__swab16p' from incompatible pointer type
> | fs/ntfs/compress.c:207: warning: passing arg 1 of `__swab16p' from incompatible pointer type
> | fs/ntfs/compress.c:228: warning: passing arg 1 of `__swab16p' from incompatible pointer type
> | fs/ntfs/compress.c:333: warning: passing arg 1 of `__swab16p' from incompatible pointer type
>
> The offending code does `le16_to_cpup(cb)', with cb a pointer to a u8.

Thanks for letting us know. I have fixed it now (just doing
le16to_cpup((u16*)cb) instead which should fix the warnings. I will submit
to Linus together with other changes later.

Best regards,

Anton
--
Anton Altaparmakov <aia21 at cantab.net> (replace at with @)
Linux NTFS maintainer / IRC: #ntfs on irc.freenode.net
WWW: http://linux-ntfs.sf.net/ & http://www-stu.christs.cam.ac.uk/~aia21/

-
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: 2005-03-22 13:34    [W:0.048 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site