reiserfs-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v06 22/36] uapi linux/reiserfs_xattr.h: use __kernel_size_t instead of size_t
       [not found] <20170806164428.2273-1-mikko.rapeli@iki.fi>
@ 2017-08-06 16:44 ` Mikko Rapeli
  2017-08-08 23:17   ` Dmitry V. Levin
  0 siblings, 1 reply; 3+ messages in thread
From: Mikko Rapeli @ 2017-08-06 16:44 UTC (permalink / raw)
  To: linux-kernel, linux-api; +Cc: Mikko Rapeli, reiserfs-devel

Fixes userspace compilation error:

error: unknown type name ‘size_t’
  size_t length;

Signed-off-by: Mikko Rapeli <mikko.rapeli@iki.fi>
Cc: reiserfs-devel@vger.kernel.org
---
 include/uapi/linux/reiserfs_xattr.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uapi/linux/reiserfs_xattr.h b/include/uapi/linux/reiserfs_xattr.h
index 38fdd648be21..af52b38ef783 100644
--- a/include/uapi/linux/reiserfs_xattr.h
+++ b/include/uapi/linux/reiserfs_xattr.h
@@ -18,7 +18,7 @@ struct reiserfs_xattr_header {
 struct reiserfs_security_handle {
 	const char *name;
 	void *value;
-	size_t length;
+	__kernel_size_t length;
 };
 
 #endif  /*  _LINUX_REISERFS_XATTR_H  */
-- 
2.13.3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v06 22/36] uapi linux/reiserfs_xattr.h: use __kernel_size_t instead of size_t
  2017-08-06 16:44 ` [PATCH v06 22/36] uapi linux/reiserfs_xattr.h: use __kernel_size_t instead of size_t Mikko Rapeli
@ 2017-08-08 23:17   ` Dmitry V. Levin
       [not found]     ` <20170808231543.GI10552@altlinux.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry V. Levin @ 2017-08-08 23:17 UTC (permalink / raw)
  To: Mikko Rapeli; +Cc: linux-kernel, linux-api, reiserfs-devel

[-- Attachment #1: Type: text/plain, Size: 970 bytes --]

On Sun, Aug 06, 2017 at 06:44:13PM +0200, Mikko Rapeli wrote:
> Fixes userspace compilation error:
> 
> error: unknown type name ‘size_t’
>   size_t length;
> 
> Signed-off-by: Mikko Rapeli <mikko.rapeli@iki.fi>
> Cc: reiserfs-devel@vger.kernel.org
> ---
>  include/uapi/linux/reiserfs_xattr.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/uapi/linux/reiserfs_xattr.h b/include/uapi/linux/reiserfs_xattr.h
> index 38fdd648be21..af52b38ef783 100644
> --- a/include/uapi/linux/reiserfs_xattr.h
> +++ b/include/uapi/linux/reiserfs_xattr.h
> @@ -18,7 +18,7 @@ struct reiserfs_xattr_header {
>  struct reiserfs_security_handle {
>  	const char *name;
>  	void *value;
> -	size_t length;
> +	__kernel_size_t length;
>  };
>  
>  #endif  /*  _LINUX_REISERFS_XATTR_H  */

I submitted an alternative fix for this bug some time ago, see
http://lkml.kernel.org/r/20170228005328.GA27363@altlinux.org


-- 
ldv

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v06 05/36] uapi linux/sysctl.h: use __kernel_size_t instead of size_t
       [not found]                 ` <20170808223420.GA10552@altlinux.org>
@ 2017-08-09  7:18                   ` Mikko Rapeli
  0 siblings, 0 replies; 3+ messages in thread
From: Mikko Rapeli @ 2017-08-09  7:18 UTC (permalink / raw)
  To: Dmitry V. Levin, linux-kernel, linux-api, Al Viro, Arnd Bergmann,
	H . Peter Anvin, Thomas Gleixner, Ingo Molnar, x86,
	reiserfs-devel
  Cc: David S . Miller, Matthew Whitehead, Joel Scherpelz,
	Lorenzo Colitti, H . J . Lu, linux-arch, Russell King,
	linux-arm-kernel, kexec, Eric Biederman

Hi Dmitry and thanks for the comments.

I have only one question: why haven't your patches been applied yet?

-Mikko

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-08-09  7:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20170806164428.2273-1-mikko.rapeli@iki.fi>
2017-08-06 16:44 ` [PATCH v06 22/36] uapi linux/reiserfs_xattr.h: use __kernel_size_t instead of size_t Mikko Rapeli
2017-08-08 23:17   ` Dmitry V. Levin
     [not found]     ` <20170808231543.GI10552@altlinux.org>
     [not found]       ` <20170808225739.GF10552@altlinux.org>
     [not found]         ` <20170808225417.GE10552@altlinux.org>
     [not found]           ` <20170808225026.GD10552@altlinux.org>
     [not found]             ` <20170808224555.GC10552@altlinux.org>
     [not found]               ` <20170808224253.GB10552@altlinux.org>
     [not found]                 ` <20170808223420.GA10552@altlinux.org>
2017-08-09  7:18                   ` [PATCH v06 05/36] uapi linux/sysctl.h: " Mikko Rapeli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).