svn commit: r268163 - in user/jceel/soc2014_evdev/head/sys: conf dev/evdev
Hans Petter Selasky
hps at selasky.org
Wed Jul 2 15:44:03 UTC 2014
On 07/02/14 17:40, Jakub Wojciech Klama wrote:
> +static int
> +uinput_poll(struct cdev *dev, int events, struct thread *td)
> +{
> + struct uinput_cdev_state *state;
> + int ret;
> + int revents = 0;
> +
> + debugf("cdev: poll by thread %d", td->td_tid);
> +
> + ret = devfs_get_cdevpriv((void **)&state);
> + if (ret != 0)
> + return (ret);
Hi,
In case of error "poll" returns POLLNVAL, I think.
--HPS
More information about the svn-src-user
mailing list