)]}' { "commit": "0f28b62890097cb8732581a80f0a47fd7649df7d", "tree": "c14dbb935561f40381a3d3a3502c4c83dc5caf06", "parents": [ "87be2f88b24ad1f206a5c87529ff406e96c95a12" ], "author": { "name": "Will Deacon", "email": "will.deacon@arm.com", "time": "Mon Apr 22 12:53:43 2013 +0000" }, "committer": { "name": "Helge Deller", "email": "deller@gmx.de", "time": "Thu Apr 25 22:36:42 2013 +0200" }, "message": "parisc: uaccess: fix compiler warnings caused by __put_user casting\n\nWhen targetting 32-bit processors, __put_user emits a pair of stw\ninstructions for the 8-byte case. If the type of __val is a pointer, the\nmarshalling code casts it to the wider integer type of u64, resulting\nin the following compiler warnings:\n\n kernel/signal.c: In function \u0027copy_siginfo_to_user\u0027:\n kernel/signal.c:2752:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]\n kernel/signal.c:2752:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]\n [...]\n\nThis patch fixes the warnings by removing the marshalling code and using\nthe correct output modifiers in the __put_{user,kernel}_asm64 macros\nso that GCC will allocate the right registers without the need to\nextract the two words explicitly.\n\nCc: Helge Deller \u003cdeller@gmx.de\u003e\nSigned-off-by: Will Deacon \u003cwill.deacon@arm.com\u003e\nSigned-off-by: Helge Deller \u003cdeller@gmx.de\u003e\n", "tree_diff": [ { "type": "modify", "old_id": "4ba2c93770f1f47c83226dc97b6e25c89d9b0bd6", "old_mode": 33188, "old_path": "arch/parisc/include/asm/uaccess.h", "new_id": "e0a82358517e032677cd563ae7aad33e37fef11f", "new_mode": 33188, "new_path": "arch/parisc/include/asm/uaccess.h" } ] }