Skip to contentSkip to conversation

arc: include: asm: uaccess.h: include "asm-generic/uaccess-unaligned.h"

PATCH In review Chen Gang 2 participants 6 messages Sep 22, 2013 – Nov 1, 2013 Synopsys ARC architecture

lore
Share & tools
lore

Chen Gang

author
#0 lore raw

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
index 3242082..8a2721f 100644
@@ -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
Acked-by on v1 1/1
#1 lore raw
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’

Thx,
-Vineet

author
#2 lore raw
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�

Thank you too.

Quoted 4 lines

Thx,
-Vineet

Signature · 1 line
Chen Gang
author
#3 lore raw

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�

Thank you too.

Quoted 4 lines

Thx,
-Vineet

Signature · 1 line
Chen Gang
#4 lore raw
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�

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�

author
#5 lore raw
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_unaligned hence this patch is no longer needed.

Thank you for your careful checking!!

Quoted 31 lines

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�

Thank you too.

Quoted 4 lines

Thx,
-Vineet

Signature · 1 line
Chen Gang