iomap: use an unsigned type for IOMAP_DIO_* defines
[linux-2.6-microblaze.git] / fs / iomap / direct-io.c
index 0ce60e8..7d627d4 100644 (file)
  * Private flags for iomap_dio, must not overlap with the public ones in
  * iomap.h:
  */
-#define IOMAP_DIO_WRITE_FUA    (1 << 28)
-#define IOMAP_DIO_NEED_SYNC    (1 << 29)
-#define IOMAP_DIO_WRITE                (1 << 30)
-#define IOMAP_DIO_DIRTY                (1 << 31)
+#define IOMAP_DIO_WRITE_FUA    (1U << 28)
+#define IOMAP_DIO_NEED_SYNC    (1U << 29)
+#define IOMAP_DIO_WRITE                (1U << 30)
+#define IOMAP_DIO_DIRTY                (1U << 31)
 
 struct iomap_dio {
        struct kiocb            *iocb;