Re: [REVIEW PATCH 01/14] V4L: Int if: Dummy slave

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 12 Jan 2009 20:03:08 -0600
"Aguirre Rodriguez, Sergio Alberto" <saaguirre@xxxxxx> wrote:

>
> +static struct v4l2_int_slave dummy_slave = {
> +	/* Dummy pointer to avoid underflow in find_ioctl. */
> +	.ioctls = (void *)0x80000000,

Why are you using here a magic number?

> +	.num_ioctls = 0,
> +};

Cheers,
Mauro
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux