Re: [RFC 4/4] media: Drop media_get_uptr() macro

Sakari Ailus
2016-02-22T10:06:25Z

Hi Mauro,

On Mon, Feb 22, 2016 at 06:52:51AM -0300, Mauro Carvalho Chehab wrote:
> Em Sun, 21 Feb 2016 23:36:15 +0200
> Sakari Ailus <sakari.ailus@linux.intel.com> escreveu:
>
> > From: Sakari Ailus <sakari.ailus@iki.fi>
> >
> > There's no real need for such a macro, especially not in the user space
> > header.
>
> Ok, good point, but I would, instead, move the macro to
> drivers/media/media-device.c. That double-casting is something unusual,
> and we don't want to start receiving patch from newbie janitors wanting
> to strip the casts.

Ok, I'll move it to media-device.c then.

--
Sakari Ailus
e-mail: sakari.ailus@iki.fi XMPP: sailus@retiisi.org.uk