mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* New warnings on NTFS code
@ 2004-04-28  8:13 Meelis Roos
  2004-04-28  8:38 ` Anton Altaparmakov
  0 siblings, 1 reply; 2+ messages in thread
From: Meelis Roos @ 2004-04-28  8:13 UTC (permalink / raw)
  To: Anton Altaparmakov, Linux Kernel list

This is 2.6.6-rc3 on sparc64. It has recently got some new warnings in
NTFS (there was a warning before but now there are more):

fs/ntfs/super.c: In function `parse_ntfs_boot_sector':
fs/ntfs/super.c:638: warning: long long unsigned int format, s64 arg (arg 4)
fs/ntfs/super.c: In function `ntfs_fill_super':
fs/ntfs/super.c:1523: warning: cast to pointer from integer of different size
fs/ntfs/super.c:1529: warning: cast to pointer from integer of different size
fs/ntfs/super.c:1634: warning: cast to pointer from integer of different size

The 3 new warnings are because of this definition:

#define OGIN    ((struct inode*)le32_to_cpu(0x4e49474f))        /* OGIN */

This seems suspicious - hardcoded pointer?

-- 
Meelis Roos (mroos@linux.ee)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-04-28  8:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-28  8:13 New warnings on NTFS code Meelis Roos
2004-04-28  8:38 ` Anton Altaparmakov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®