xfs
[Top] [All Lists]

Re: [PATCH 1/2] types.h: implement intptr_t and uintptr_t

To: Jan Engelhardt <jengelh@xxxxxxx>
Subject: Re: [PATCH 1/2] types.h: implement intptr_t and uintptr_t
From: Ben Myers <bpm@xxxxxxx>
Date: Thu, 31 May 2012 12:59:13 -0500
Cc: xfs@xxxxxxxxxxx, hch@xxxxxxxxxxxxx, joe@xxxxxxxxxxx
In-reply-to: <1337961147-11668-2-git-send-email-jengelh@xxxxxxx>
References: <20120525103758.GD1707@xxxxxxxxxxxxx> <1337961147-11668-1-git-send-email-jengelh@xxxxxxx> <1337961147-11668-2-git-send-email-jengelh@xxxxxxx>
User-agent: Mutt/1.5.20 (2009-06-14)
Hey Jan,

On Fri, May 25, 2012 at 05:52:26PM +0200, Jan Engelhardt wrote:
> intptr_t and uintptr_t designate an (un)signed integer type capable of
> holding void* pointers.
> (http://pubs.opengroup.org/onlinepubs/000095399/basedefs/stdint.h.html )
> 
> Notes: In linux/types.h, there are a handful of guards like "#ifdef
> _PTRDIFF_T", but a git grep reveals that this is never ever defined
> anywhere, so I omitted a corresponding "#ifdef _INTPTR_T" guard.
> Same goes for "#define __kernel_ptrdiff_t" in
> arch/sh/include/asm/posix_types_64.h.

Would it be appropriate to CC linux-kernel on this one given the nature of the
change?

-Ben

<Prev in Thread] Current Thread [Next in Thread>