diff for duplicates of <20110913135107.295aecfe.akpm@google.com> diff --git a/a/1.txt b/N1/1.txt index 579575f..4406d0d 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -5,15 +5,15 @@ Seth Jennings <sjenning@linux.vnet.ibm.com> wrote: > > I get the following compile warnings: > -> mm/frontswap.c: In function ‘init_frontswap’: -> mm/frontswap.c:264:5: warning: passing argument 4 of ‘debugfs_create_size_t’ from incompatible pointer type -> include/linux/debugfs.h:68:16: note: expected ‘size_t *’ but argument is of type ‘long unsigned int *’ -> mm/frontswap.c:266:5: warning: passing argument 4 of ‘debugfs_create_size_t’ from incompatible pointer type -> include/linux/debugfs.h:68:16: note: expected ‘size_t *’ but argument is of type ‘long unsigned int *’ -> mm/frontswap.c:268:5: warning: passing argument 4 of ‘debugfs_create_size_t’ from incompatible pointer type -> include/linux/debugfs.h:68:16: note: expected ‘size_t *’ but argument is of type ‘long unsigned int *’ -> mm/frontswap.c:270:5: warning: passing argument 4 of ‘debugfs_create_size_t’ from incompatible pointer type -> include/linux/debugfs.h:68:16: note: expected ‘size_t *’ but argument is of type ‘long unsigned int *’ +> mm/frontswap.c: In function a??init_frontswapa??: +> mm/frontswap.c:264:5: warning: passing argument 4 of a??debugfs_create_size_ta?? from incompatible pointer type +> include/linux/debugfs.h:68:16: note: expected a??size_t *a?? but argument is of type a??long unsigned int *a?? +> mm/frontswap.c:266:5: warning: passing argument 4 of a??debugfs_create_size_ta?? from incompatible pointer type +> include/linux/debugfs.h:68:16: note: expected a??size_t *a?? but argument is of type a??long unsigned int *a?? +> mm/frontswap.c:268:5: warning: passing argument 4 of a??debugfs_create_size_ta?? from incompatible pointer type +> include/linux/debugfs.h:68:16: note: expected a??size_t *a?? but argument is of type a??long unsigned int *a?? +> mm/frontswap.c:270:5: warning: passing argument 4 of a??debugfs_create_size_ta?? from incompatible pointer type +> include/linux/debugfs.h:68:16: note: expected a??size_t *a?? but argument is of type a??long unsigned int *a?? > > size_t is platform dependent but is generally "unsigned int" > for 32-bit and "unsigned long" for 64-bit. @@ -39,3 +39,10 @@ That's very risky. Make them u32 and use debugfs_create_x32(), perhaps. Or create debugfs_create_ulong(). + +-- +To unsubscribe, send a message with 'unsubscribe linux-mm' in +the body to majordomo@kvack.org. For more info on Linux MM, +see: http://www.linux-mm.org/ . +Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ +Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> diff --git a/a/content_digest b/N1/content_digest index a007d26..fc991e5 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -31,15 +31,15 @@ "> \n" "> I get the following compile warnings:\n" "> \n" - "> mm/frontswap.c: In function \342\200\230init_frontswap\342\200\231:\n" - "> mm/frontswap.c:264:5: warning: passing argument 4 of \342\200\230debugfs_create_size_t\342\200\231 from incompatible pointer type\n" - "> include/linux/debugfs.h:68:16: note: expected \342\200\230size_t *\342\200\231 but argument is of type \342\200\230long unsigned int *\342\200\231\n" - "> mm/frontswap.c:266:5: warning: passing argument 4 of \342\200\230debugfs_create_size_t\342\200\231 from incompatible pointer type\n" - "> include/linux/debugfs.h:68:16: note: expected \342\200\230size_t *\342\200\231 but argument is of type \342\200\230long unsigned int *\342\200\231\n" - "> mm/frontswap.c:268:5: warning: passing argument 4 of \342\200\230debugfs_create_size_t\342\200\231 from incompatible pointer type\n" - "> include/linux/debugfs.h:68:16: note: expected \342\200\230size_t *\342\200\231 but argument is of type \342\200\230long unsigned int *\342\200\231\n" - "> mm/frontswap.c:270:5: warning: passing argument 4 of \342\200\230debugfs_create_size_t\342\200\231 from incompatible pointer type\n" - "> include/linux/debugfs.h:68:16: note: expected \342\200\230size_t *\342\200\231 but argument is of type \342\200\230long unsigned int *\342\200\231\n" + "> mm/frontswap.c: In function a??init_frontswapa??:\n" + "> mm/frontswap.c:264:5: warning: passing argument 4 of a??debugfs_create_size_ta?? from incompatible pointer type\n" + "> include/linux/debugfs.h:68:16: note: expected a??size_t *a?? but argument is of type a??long unsigned int *a??\n" + "> mm/frontswap.c:266:5: warning: passing argument 4 of a??debugfs_create_size_ta?? from incompatible pointer type\n" + "> include/linux/debugfs.h:68:16: note: expected a??size_t *a?? but argument is of type a??long unsigned int *a??\n" + "> mm/frontswap.c:268:5: warning: passing argument 4 of a??debugfs_create_size_ta?? from incompatible pointer type\n" + "> include/linux/debugfs.h:68:16: note: expected a??size_t *a?? but argument is of type a??long unsigned int *a??\n" + "> mm/frontswap.c:270:5: warning: passing argument 4 of a??debugfs_create_size_ta?? from incompatible pointer type\n" + "> include/linux/debugfs.h:68:16: note: expected a??size_t *a?? but argument is of type a??long unsigned int *a??\n" "> \n" "> size_t is platform dependent but is generally \"unsigned int\"\n" "> for 32-bit and \"unsigned long\" for 64-bit.\n" @@ -64,6 +64,13 @@ "> > +#endif\n" "\n" "Make them u32 and use debugfs_create_x32(), perhaps. Or create\n" - debugfs_create_ulong(). + "debugfs_create_ulong().\n" + "\n" + "--\n" + "To unsubscribe, send a message with 'unsubscribe linux-mm' in\n" + "the body to majordomo@kvack.org. For more info on Linux MM,\n" + "see: http://www.linux-mm.org/ .\n" + "Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/\n" + "Don't email: <a href=mailto:\"dont@kvack.org\"> email@kvack.org </a>" -dae8c2814dca85e31e14b6bdb03d40d0ca80dffd223098a97827b835d93f2201 +b2e9b539a2a86e606caab01ccc8537057d32d86fc14ad51b6cd1fb58834f55a2
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.