arc: include: asm: uaccess.h: include "asm-generic/uaccess-unaligned.h"
PATCH 1/1 arc: include: asm: uaccess.h: include "asm-generic/uaccess-unaligned.h"
Need include the default implementation, just like another platforms (e.g. parisc, tile ...), or can not pass compiling.
The related error (with allmodconfig for arc):
CC [M] fs/btrfs/ioctl.o
fs/btrfs/ioctl.c: In function ‘btrfs_ioctl_file_extent_same’:
fs/btrfs/ioctl.c:2802: error: implicit declaration of function ‘__put_user_unaligned’
--- arch/arc/include/asm/uaccess.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arc/include/asm/uaccess.h +1 -0
@@ -27,6 +27,7 @@#include <linux/sched.h> #include <asm/errno.h> #include <linux/string.h> /* for generic string functions */ +#include <asm-generic/uaccess-unaligned.h> #define __kernel_ok (segment_eq(get_fs(), KERNEL_DS))
Signature · 1 line
1.7.7.6
Quoted 11 lines · Chen Gang
Need include the default implementation, just like another platforms (e.g. parisc, tile ...), or can not pass compiling.
The related error (with allmodconfig for arc):
CC [M]
fs/btrfs/ioctl.o
fs/btrfs/ioctl.c: In function ‘btrfs_ioctl_file_extent_same’:
fs/btrfs/ioctl.c:2802: error: implicit declaration of function ‘__put_user_unaligned’Signed-off-by Chen Gang <[email protected]>
Thx,
-Vineet
Quoted 6 lines · Vineet Gupta
Quoted 5 lines · Chen Gang
Need include the default implementation, just like another platforms (e.g. parisc, tile ...), or can not pass compiling.
The related error (with allmodconfig for arc):
Quoted 9 lines
Quoted 6 lines
CC [M]
fs/btrfs/ioctl.o
fs/btrfs/ioctl.c: In function �btrfs_ioctl_file_extent_same�:
fs/btrfs/ioctl.c:2802: error: implicit declaration of function �__put_user_unaligned�Signed-off-by Chen Gang <[email protected]>Acked-by Vineet Gupta <[email protected]>
Thank you too.
Quoted 4 lines
Thx,
-Vineet
Signature · 1 line
Chen Gang
Hello Maintainers:
Is this patch OK, please help check when you have time.
Thanks.
Quoted 25 lines · Chen Gang
Quoted 6 lines · Vineet Gupta
Quoted 5 lines · Chen Gang
Need include the default implementation, just like another platforms (e.g. parisc, tile ...), or can not pass compiling.
The related error (with allmodconfig for arc):
Quoted 9 lines
Quoted 6 lines
CC [M]
fs/btrfs/ioctl.o
fs/btrfs/ioctl.c: In function �btrfs_ioctl_file_extent_same�:
fs/btrfs/ioctl.c:2802: error: implicit declaration of function �__put_user_unaligned�Signed-off-by Chen Gang <[email protected]>Acked-by Vineet Gupta <[email protected]>Thank you too.
Quoted 4 lines
Thx,
-Vineet
Signature · 1 line
Chen Gang
Quoted 3 lines · Chen Gang
Hello Maintainers:
Is this patch OK, please help check when you have time.
Mainline commit cbf8b8ca3ec "btrfs: change extent-same to copy entire argument struct" removed the usage of __put_user_unaligned hence this patch is no longer needed.
Thx,
-Vineet
Quoted 27 lines
Thanks.
Quoted 22 lines · Chen Gang
Quoted 6 lines · Vineet Gupta
Quoted 5 lines · Chen Gang
Need include the default implementation, just like another platforms (e.g. parisc, tile ...), or can not pass compiling.
The related error (with allmodconfig for arc):
Quoted 8 lines
Quoted 6 lines
CC [M]
fs/btrfs/ioctl.o
fs/btrfs/ioctl.c: In function �btrfs_ioctl_file_extent_same�:
fs/btrfs/ioctl.c:2802: error: implicit declaration of function �__put_user_unaligned�Signed-off-by Chen Gang <[email protected]>Acked-by Vineet Gupta <[email protected]>Thank you too.
Quoted 4 lines
Thx,
-Vineet
���{.n�+�������+%�����ݶ��w��{.n�+����{��G�����{ay�ʇڙ�,j��f���h��������z_�(�階�ݢj"���m������G������?����&���~��iO��z��v�^�m����������?�I�
Quoted 9 lines · Vineet Gupta
Quoted 3 lines · Chen Gang
Hello Maintainers:
Is this patch OK, please help check when you have time.
Mainline commit
cbf8b8ca3ec"btrfs: change extent-same to copy entire argument struct" removed the usage of__put_user_unalignedhence this patch is no longer needed.
Thank you for your careful checking!!
Quoted 31 lines
Thx,
-VineetQuoted 27 lines
Thanks.
Quoted 22 lines · Chen Gang
Quoted 6 lines · Vineet Gupta
Quoted 5 lines · Chen Gang
Need include the default implementation, just like another platforms (e.g. parisc, tile ...), or can not pass compiling.
The related error (with allmodconfig for arc):
Quoted 8 lines
Quoted 6 lines
CC [M]
fs/btrfs/ioctl.o
fs/btrfs/ioctl.c: In function �btrfs_ioctl_file_extent_same�:
fs/btrfs/ioctl.c:2802: error: implicit declaration of function �__put_user_unaligned�Signed-off-by Chen Gang <[email protected]>Acked-by Vineet Gupta <[email protected]>Thank you too.
Quoted 4 lines
Thx,
-Vineet
Signature · 1 line
Chen Gang