+ linux-typesh-always-use-unsigned-long-for-pgoff_t.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: linux/types.h: Always use unsigned long for pgoff_t
has been added to the -mm tree.  Its filename is
     linux-typesh-always-use-unsigned-long-for-pgoff_t.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/linux-typesh-always-use-unsigned-long-for-pgoff_t.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/linux-typesh-always-use-unsigned-long-for-pgoff_t.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Subject: linux/types.h: Always use unsigned long for pgoff_t

Everybody uses unsigned long for pgoff_t, and no ever overrode the
definition of pgoff_t.  Keep it that way, and remove the option of
overriding it.

Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Cc: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Cc: Arnd Bergmann <arnd@xxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 include/linux/types.h |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff -puN include/linux/types.h~linux-typesh-always-use-unsigned-long-for-pgoff_t include/linux/types.h
--- a/include/linux/types.h~linux-typesh-always-use-unsigned-long-for-pgoff_t
+++ a/include/linux/types.h
@@ -135,12 +135,9 @@ typedef unsigned long blkcnt_t;
 #endif
 
 /*
- * The type of an index into the pagecache.  Use a #define so asm/types.h
- * can override it.
+ * The type of an index into the pagecache.
  */
-#ifndef pgoff_t
 #define pgoff_t unsigned long
-#endif
 
 /* A dma_addr_t can hold any valid DMA or bus address for the platform */
 #ifdef CONFIG_ARCH_DMA_ADDR_T_64BIT
_

Patches currently in -mm which might be from geert@xxxxxxxxxxxxxx are

m68k-drop-_page_file-and-pte_file-related-helpers.patch
all-arches-signal-move-restart_block-to-struct-task_struct.patch
linux-typesh-always-use-unsigned-long-for-pgoff_t.patch
fs-affs-fix-casting-in-printed-messages.patch
linux-next.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux