[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1282581489.1659.13.camel@leonhard>
Date: Tue, 24 Aug 2010 01:38:09 +0900
From: Namhyung Kim <namhyung@...il.com>
To: Christoph Hellwig <hch@...radead.org>
Cc: Arnd Bergmann <arnd@...db.de>, Roland McGrath <roland@...hat.com>,
Oleg Nesterov <oleg@...hat.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/3 RESEND] ptrace: cleanup address space conversion on
ptrace_request()
2010-08-23 (Mon), 12:21 -0400, Christoph Hellwig:
> Just make this a
>
> void __user *datap = (void __user *)data;
>
> and you can pass it around withjout additional casts. Also no need
> for the force here I think.
>
But removing __force results in following sparse warning:
ptrace.c:567:40: warning: cast adds address space to expression
(<asn:1>)
--
Regards,
Namhyung Kim
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists