Linux Device Mapper development
 help / color / mirror / Atom feed
From: Christophe Varoqui <christophe.varoqui@gmail.com>
To: Ritesh Raj Sarraf <rrs@debian.org>
Cc: dm-devel@redhat.com, "Guido Günther" <agx@sigxcpu.org>
Subject: Re: [PATCH 1/3] explicitly include posix_types.h
Date: Sat, 12 Jan 2013 14:14:35 +0100	[thread overview]
Message-ID: <1357996475.4263.15.camel@lapoo.opensvc.com> (raw)
In-Reply-To: <1357725956-24346-2-git-send-email-rrs@debian.org>

On mer., 2013-01-09 at 15:35 +0530, Ritesh Raj Sarraf wrote:
> From: Guido Günther <agx@sigxcpu.org>
> 
> to get the correct type for __kernel_old_dev_t
> 
> Closes: #558990
> 
Merged.

> Signed-off-by: Ritesh Raj Sarraf <rrs@debian.org>
> ---
>  kpartx/lopart.c |   13 +------------
>  1 file changed, 1 insertion(+), 12 deletions(-)
> 
> diff --git a/kpartx/lopart.c b/kpartx/lopart.c
> index 79d8328..570c8ad 100644
> --- a/kpartx/lopart.c
> +++ b/kpartx/lopart.c
> @@ -26,18 +26,7 @@
>  #include <sys/stat.h>
>  #include <sys/mman.h>
>  #include <sysmacros.h>
> -
> -#if defined(__hppa__) || defined(__powerpc64__) || defined (__alpha__) \
> - || defined (__x86_64__)
> -typedef unsigned long __kernel_old_dev_t;
> -#elif defined(__powerpc__) || defined(__ia64__) || (defined(__sparc__) && defined (__arch64__))
> -typedef unsigned int __kernel_old_dev_t;
> -#else
> -typedef unsigned short __kernel_old_dev_t;
> -#endif
> -
> -#define dev_t __kernel_old_dev_t
> -
> +#include <asm/posix_types.h>
>  #include <linux/loop.h>
>  
>  #include "lopart.h"



--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel

  reply	other threads:[~2013-01-12 13:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-09 10:05 [PATCH 0/3] Debian packaging fixes for multipath-tools Ritesh Raj Sarraf
2013-01-09 10:05 ` [PATCH 1/3] explicitly include posix_types.h Ritesh Raj Sarraf
2013-01-12 13:14   ` Christophe Varoqui [this message]
2013-01-09 10:05 ` [PATCH 2/3] Minor spelling error fixes for Debian's lintian cleanliness Ritesh Raj Sarraf
2013-01-12 13:14   ` Christophe Varoqui
2013-01-09 10:05 ` [PATCH 3/3] Drop useless link to curses library Ritesh Raj Sarraf
2013-01-12 13:14   ` Christophe Varoqui
  -- strict thread matches above, loose matches on Subject: below --
2013-01-09  8:32 [PATCH 1/3] explicitly include posix_types.h Ritesh Raj Sarraf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1357996475.4263.15.camel@lapoo.opensvc.com \
    --to=christophe.varoqui@gmail.com \
    --cc=agx@sigxcpu.org \
    --cc=christophe.varoqui@opensvc.com \
    --cc=dm-devel@redhat.com \
    --cc=rrs@debian.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox