lkml.org 
[lkml]   [2004]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 2/3] Re: [2.6-BK-URL] NTFS: Final sparse related cleanups.
This is patch 2/3 in the series.  It contains the following ChangeSet:

<aia21@cantab.net> (04/09/26 1.1990)
NTFS: Convert final enum (fs/ntfs/logfile.h) to define to silence last
bitwise sparse warning.

Signed-off-by: Anton Altaparmakov <aia21@cantab.net>

Best regards,

Anton
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer / IRC: #ntfs on irc.freenode.net
WWW: http://linux-ntfs.sf.net/, http://www-stu.christs.cam.ac.uk/~aia21/

===================================================================

diff -Nru a/fs/ntfs/logfile.h b/fs/ntfs/logfile.h
--- a/fs/ntfs/logfile.h 2004-09-26 01:17:28 +01:00
+++ b/fs/ntfs/logfile.h 2004-09-26 01:17:28 +01:00
@@ -111,10 +111,9 @@
* These are the so far known RESTART_AREA_* flags (16-bit) which contain
* information about the log file in which they are present.
*/
-typedef enum {
- RESTART_VOLUME_IS_CLEAN = const_cpu_to_le16(0x0002),
- REST_AREA_SPACE_FILLER = 0xffff /* Just to make flags 16-bit. */
-} __attribute__ ((__packed__)) RESTART_AREA_FLAGS;
+#define RESTART_VOLUME_IS_CLEAN const_cpu_to_le16(0x0002)
+
+typedef le16 RESTART_AREA_FLAGS;

/*
* Log file restart area record. The offset of this record is found by adding
-
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 14:06    [W:0.056 / U:0.720 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site