Commit 01699437 authored by Al Viro's avatar Al Viro
Browse files

annotate poll_table_struct ->_key



Only POLL... bitmaps ever end up there and their only use is checking
for POLL... bits in them.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 3ad6f93e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -163,7 +163,7 @@ static unsigned int dma_buf_poll(struct file *file, poll_table *poll)
	struct reservation_object *resv;
	struct reservation_object_list *fobj;
	struct dma_fence *fence_excl;
	unsigned long events;
	__poll_t events;
	unsigned shared_count, seq;

	dmabuf = file->private_data;
+2 −2
Original line number Diff line number Diff line
@@ -2961,7 +2961,7 @@ static unsigned int bttv_poll(struct file *file, poll_table *wait)
	struct bttv_buffer *buf;
	enum v4l2_field field;
	unsigned int rc = 0;
	unsigned long req_events = poll_requested_events(wait);
	__poll_t req_events = poll_requested_events(wait);

	if (v4l2_event_pending(&fh->fh))
		rc = POLLPRI;
@@ -3333,7 +3333,7 @@ static unsigned int radio_poll(struct file *file, poll_table *wait)
{
	struct bttv_fh *fh = file->private_data;
	struct bttv *btv = fh->btv;
	unsigned long req_events = poll_requested_events(wait);
	__poll_t req_events = poll_requested_events(wait);
	struct saa6588_command cmd;
	unsigned int res = 0;

+1 −1
Original line number Diff line number Diff line
@@ -604,7 +604,7 @@ ssize_t cx18_v4l2_read(struct file *filp, char __user *buf, size_t count,

unsigned int cx18_v4l2_enc_poll(struct file *filp, poll_table *wait)
{
	unsigned long req_events = poll_requested_events(wait);
	__poll_t req_events = poll_requested_events(wait);
	struct cx18_open_id *id = file2id(filp);
	struct cx18 *cx = id->cx;
	struct cx18_stream *s = &cx->streams[id->type];
+1 −1
Original line number Diff line number Diff line
@@ -766,7 +766,7 @@ unsigned int ivtv_v4l2_dec_poll(struct file *filp, poll_table *wait)

unsigned int ivtv_v4l2_enc_poll(struct file *filp, poll_table *wait)
{
	unsigned long req_events = poll_requested_events(wait);
	__poll_t req_events = poll_requested_events(wait);
	struct ivtv_open_id *id = fh2id(filp->private_data);
	struct ivtv *itv = id->itv;
	struct ivtv_stream *s = &itv->streams[id->type];
+1 −1
Original line number Diff line number Diff line
@@ -911,7 +911,7 @@ err:

static unsigned int fops_poll(struct file *file, poll_table *wait)
{
	unsigned long req_events = poll_requested_events(wait);
	__poll_t req_events = poll_requested_events(wait);
	struct saa7164_encoder_fh *fh =
		(struct saa7164_encoder_fh *)file->private_data;
	struct saa7164_port *port = fh->port;
Loading