Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
L
linux-next
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
89
Issues
89
List
Boards
Labels
Milestones
Merge Requests
12
Merge Requests
12
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Librem5
linux-next
Commits
afc9a42b
Commit
afc9a42b
authored
Jul 03, 2017
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
the rest of drivers/*: annotate ->poll() instances
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
c23e0cb8
Changes
144
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
144 changed files
with
257 additions
and
256 deletions
+257
-256
drivers/android/binder.c
drivers/android/binder.c
+1
-1
drivers/bluetooth/hci_ldisc.c
drivers/bluetooth/hci_ldisc.c
+1
-1
drivers/bluetooth/hci_vhci.c
drivers/bluetooth/hci_vhci.c
+1
-1
drivers/char/apm-emulation.c
drivers/char/apm-emulation.c
+1
-1
drivers/char/dsp56k.c
drivers/char/dsp56k.c
+1
-1
drivers/char/dtlk.c
drivers/char/dtlk.c
+3
-3
drivers/char/hpet.c
drivers/char/hpet.c
+1
-1
drivers/char/ipmi/bt-bmc.c
drivers/char/ipmi/bt-bmc.c
+2
-2
drivers/char/ipmi/ipmi_devintf.c
drivers/char/ipmi/ipmi_devintf.c
+2
-2
drivers/char/ipmi/ipmi_watchdog.c
drivers/char/ipmi/ipmi_watchdog.c
+2
-2
drivers/char/pcmcia/cm4040_cs.c
drivers/char/pcmcia/cm4040_cs.c
+2
-2
drivers/char/ppdev.c
drivers/char/ppdev.c
+2
-2
drivers/char/random.c
drivers/char/random.c
+2
-2
drivers/char/rtc.c
drivers/char/rtc.c
+2
-2
drivers/char/snsc.c
drivers/char/snsc.c
+2
-2
drivers/char/sonypi.c
drivers/char/sonypi.c
+1
-1
drivers/char/tpm/tpm_vtpm_proxy.c
drivers/char/tpm/tpm_vtpm_proxy.c
+2
-2
drivers/char/virtio_console.c
drivers/char/virtio_console.c
+2
-2
drivers/char/xillybus/xillybus_core.c
drivers/char/xillybus/xillybus_core.c
+2
-2
drivers/dma-buf/dma-buf.c
drivers/dma-buf/dma-buf.c
+2
-2
drivers/dma-buf/sync_file.c
drivers/dma-buf/sync_file.c
+1
-1
drivers/firewire/core-cdev.c
drivers/firewire/core-cdev.c
+2
-2
drivers/firewire/nosy.c
drivers/firewire/nosy.c
+2
-2
drivers/gpio/gpiolib.c
drivers/gpio/gpiolib.c
+2
-2
drivers/gpu/drm/drm_file.c
drivers/gpu/drm/drm_file.c
+2
-2
drivers/gpu/drm/i915/i915_perf.c
drivers/gpu/drm/i915/i915_perf.c
+4
-4
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
+1
-1
drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c
drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c
+1
-1
drivers/gpu/vga/vgaarb.c
drivers/gpu/vga/vgaarb.c
+1
-1
drivers/hid/hid-debug.c
drivers/hid/hid-debug.c
+1
-1
drivers/hid/hid-roccat.c
drivers/hid/hid-roccat.c
+1
-1
drivers/hid/hid-sensor-custom.c
drivers/hid/hid-sensor-custom.c
+2
-2
drivers/hid/hidraw.c
drivers/hid/hidraw.c
+1
-1
drivers/hid/uhid.c
drivers/hid/uhid.c
+1
-1
drivers/hid/usbhid/hiddev.c
drivers/hid/usbhid/hiddev.c
+1
-1
drivers/hsi/clients/cmt_speech.c
drivers/hsi/clients/cmt_speech.c
+2
-2
drivers/hv/hv_utils_transport.c
drivers/hv/hv_utils_transport.c
+1
-1
drivers/iio/iio_core.h
drivers/iio/iio_core.h
+1
-1
drivers/iio/industrialio-buffer.c
drivers/iio/industrialio-buffer.c
+1
-1
drivers/iio/industrialio-event.c
drivers/iio/industrialio-event.c
+2
-2
drivers/infiniband/core/ucm.c
drivers/infiniband/core/ucm.c
+2
-2
drivers/infiniband/core/ucma.c
drivers/infiniband/core/ucma.c
+2
-2
drivers/infiniband/core/user_mad.c
drivers/infiniband/core/user_mad.c
+2
-2
drivers/infiniband/core/uverbs_main.c
drivers/infiniband/core/uverbs_main.c
+4
-4
drivers/infiniband/hw/hfi1/file_ops.c
drivers/infiniband/hw/hfi1/file_ops.c
+9
-9
drivers/infiniband/hw/qib/qib_file_ops.c
drivers/infiniband/hw/qib/qib_file_ops.c
+7
-7
drivers/input/evdev.c
drivers/input/evdev.c
+2
-2
drivers/input/input.c
drivers/input/input.c
+1
-1
drivers/input/joydev.c
drivers/input/joydev.c
+1
-1
drivers/input/misc/hp_sdc_rtc.c
drivers/input/misc/hp_sdc_rtc.c
+1
-1
drivers/input/misc/uinput.c
drivers/input/misc/uinput.c
+1
-1
drivers/input/mousedev.c
drivers/input/mousedev.c
+2
-2
drivers/input/serio/serio_raw.c
drivers/input/serio/serio_raw.c
+2
-2
drivers/input/serio/userio.c
drivers/input/serio/userio.c
+1
-1
drivers/isdn/capi/capi.c
drivers/isdn/capi/capi.c
+2
-2
drivers/isdn/divert/divert_procfs.c
drivers/isdn/divert/divert_procfs.c
+2
-2
drivers/isdn/hardware/eicon/divamnt.c
drivers/isdn/hardware/eicon/divamnt.c
+2
-2
drivers/isdn/hardware/eicon/divasi.c
drivers/isdn/hardware/eicon/divasi.c
+2
-2
drivers/isdn/hardware/eicon/divasmain.c
drivers/isdn/hardware/eicon/divasmain.c
+1
-1
drivers/isdn/hardware/eicon/divasproc.c
drivers/isdn/hardware/eicon/divasproc.c
+1
-1
drivers/isdn/hysdn/hysdn_proclog.c
drivers/isdn/hysdn/hysdn_proclog.c
+2
-2
drivers/isdn/i4l/isdn_common.c
drivers/isdn/i4l/isdn_common.c
+2
-2
drivers/isdn/i4l/isdn_ppp.c
drivers/isdn/i4l/isdn_ppp.c
+2
-2
drivers/isdn/i4l/isdn_ppp.h
drivers/isdn/i4l/isdn_ppp.h
+1
-1
drivers/isdn/mISDN/timerdev.c
drivers/isdn/mISDN/timerdev.c
+2
-2
drivers/leds/uleds.c
drivers/leds/uleds.c
+1
-1
drivers/macintosh/smu.c
drivers/macintosh/smu.c
+2
-2
drivers/macintosh/via-pmu.c
drivers/macintosh/via-pmu.c
+2
-2
drivers/mailbox/mailbox-test.c
drivers/mailbox/mailbox-test.c
+1
-1
drivers/md/dm-ioctl.c
drivers/md/dm-ioctl.c
+2
-2
drivers/md/md.c
drivers/md/md.c
+2
-2
drivers/misc/cxl/api.c
drivers/misc/cxl/api.c
+1
-1
drivers/misc/cxl/cxl.h
drivers/misc/cxl/cxl.h
+1
-1
drivers/misc/cxl/file.c
drivers/misc/cxl/file.c
+2
-2
drivers/misc/hpilo.c
drivers/misc/hpilo.c
+1
-1
drivers/misc/lis3lv02d/lis3lv02d.c
drivers/misc/lis3lv02d/lis3lv02d.c
+1
-1
drivers/misc/mei/main.c
drivers/misc/mei/main.c
+2
-2
drivers/misc/mic/scif/scif_api.c
drivers/misc/mic/scif/scif_api.c
+4
-3
drivers/misc/mic/scif/scif_epd.h
drivers/misc/mic/scif/scif_epd.h
+1
-1
drivers/misc/mic/scif/scif_fd.c
drivers/misc/mic/scif/scif_fd.c
+1
-1
drivers/misc/mic/vop/vop_vringh.c
drivers/misc/mic/vop/vop_vringh.c
+2
-2
drivers/misc/phantom.c
drivers/misc/phantom.c
+2
-2
drivers/misc/vmw_vmci/vmci_host.c
drivers/misc/vmw_vmci/vmci_host.c
+2
-2
drivers/net/ieee802154/ca8210.c
drivers/net/ieee802154/ca8210.c
+2
-2
drivers/net/ppp/ppp_async.c
drivers/net/ppp/ppp_async.c
+1
-1
drivers/net/ppp/ppp_generic.c
drivers/net/ppp/ppp_generic.c
+2
-2
drivers/net/ppp/ppp_synctty.c
drivers/net/ppp/ppp_synctty.c
+1
-1
drivers/net/tap.c
drivers/net/tap.c
+2
-2
drivers/net/tun.c
drivers/net/tun.c
+2
-2
drivers/net/wan/cosa.c
drivers/net/wan/cosa.c
+1
-1
drivers/net/wireless/ralink/rt2x00/rt2x00debug.c
drivers/net/wireless/ralink/rt2x00/rt2x00debug.c
+1
-1
drivers/pci/switch/switchtec.c
drivers/pci/switch/switchtec.c
+2
-2
drivers/platform/chrome/cros_ec_debugfs.c
drivers/platform/chrome/cros_ec_debugfs.c
+2
-2
drivers/platform/goldfish/goldfish_pipe.c
drivers/platform/goldfish/goldfish_pipe.c
+2
-2
drivers/platform/x86/sony-laptop.c
drivers/platform/x86/sony-laptop.c
+1
-1
drivers/pps/pps.c
drivers/pps/pps.c
+1
-1
drivers/ptp/ptp_chardev.c
drivers/ptp/ptp_chardev.c
+1
-1
drivers/ptp/ptp_private.h
drivers/ptp/ptp_private.h
+1
-1
drivers/rapidio/devices/rio_mport_cdev.c
drivers/rapidio/devices/rio_mport_cdev.c
+1
-1
drivers/rpmsg/qcom_smd.c
drivers/rpmsg/qcom_smd.c
+2
-2
drivers/rpmsg/rpmsg_char.c
drivers/rpmsg/rpmsg_char.c
+2
-2
drivers/rpmsg/rpmsg_core.c
drivers/rpmsg/rpmsg_core.c
+1
-1
drivers/rpmsg/rpmsg_internal.h
drivers/rpmsg/rpmsg_internal.h
+1
-1
drivers/rtc/rtc-dev.c
drivers/rtc/rtc-dev.c
+1
-1
drivers/s390/block/dasd_eer.c
drivers/s390/block/dasd_eer.c
+2
-2
drivers/s390/char/monreader.c
drivers/s390/char/monreader.c
+1
-1
drivers/scsi/megaraid/megaraid_sas_base.c
drivers/scsi/megaraid/megaraid_sas_base.c
+2
-2
drivers/scsi/mpt3sas/mpt3sas_ctl.c
drivers/scsi/mpt3sas/mpt3sas_ctl.c
+1
-1
drivers/scsi/sg.c
drivers/scsi/sg.c
+2
-2
drivers/staging/comedi/comedi_fops.c
drivers/staging/comedi/comedi_fops.c
+2
-2
drivers/staging/most/aim-cdev/cdev.c
drivers/staging/most/aim-cdev/cdev.c
+2
-2
drivers/staging/most/aim-v4l2/video.c
drivers/staging/most/aim-v4l2/video.c
+2
-2
drivers/staging/speakup/speakup_soft.c
drivers/staging/speakup/speakup_soft.c
+2
-2
drivers/tty/n_gsm.c
drivers/tty/n_gsm.c
+2
-2
drivers/tty/n_hdlc.c
drivers/tty/n_hdlc.c
+3
-3
drivers/tty/n_r3964.c
drivers/tty/n_r3964.c
+3
-3
drivers/tty/n_tty.c
drivers/tty/n_tty.c
+2
-2
drivers/tty/tty_io.c
drivers/tty/tty_io.c
+3
-3
drivers/tty/vt/vc_screen.c
drivers/tty/vt/vc_screen.c
+2
-2
drivers/uio/uio.c
drivers/uio/uio.c
+1
-1
drivers/usb/class/cdc-wdm.c
drivers/usb/class/cdc-wdm.c
+2
-2
drivers/usb/class/usblp.c
drivers/usb/class/usblp.c
+2
-2
drivers/usb/class/usbtmc.c
drivers/usb/class/usbtmc.c
+2
-2
drivers/usb/core/devices.c
drivers/usb/core/devices.c
+1
-1
drivers/usb/core/devio.c
drivers/usb/core/devio.c
+2
-2
drivers/usb/gadget/function/f_fs.c
drivers/usb/gadget/function/f_fs.c
+2
-2
drivers/usb/gadget/function/f_hid.c
drivers/usb/gadget/function/f_hid.c
+2
-2
drivers/usb/gadget/function/f_printer.c
drivers/usb/gadget/function/f_printer.c
+2
-2
drivers/usb/gadget/legacy/inode.c
drivers/usb/gadget/legacy/inode.c
+2
-2
drivers/usb/misc/iowarrior.c
drivers/usb/misc/iowarrior.c
+2
-2
drivers/usb/misc/ldusb.c
drivers/usb/misc/ldusb.c
+2
-2
drivers/usb/misc/legousbtower.c
drivers/usb/misc/legousbtower.c
+3
-3
drivers/usb/mon/mon_bin.c
drivers/usb/mon/mon_bin.c
+2
-2
drivers/vhost/net.c
drivers/vhost/net.c
+1
-1
drivers/vhost/vhost.c
drivers/vhost/vhost.c
+2
-2
drivers/vhost/vhost.h
drivers/vhost/vhost.h
+1
-1
drivers/virt/fsl_hypervisor.c
drivers/virt/fsl_hypervisor.c
+2
-2
drivers/xen/evtchn.c
drivers/xen/evtchn.c
+2
-2
drivers/xen/mcelog.c
drivers/xen/mcelog.c
+1
-1
drivers/xen/pvcalls-front.c
drivers/xen/pvcalls-front.c
+5
-5
drivers/xen/xenbus/xenbus_dev_frontend.c
drivers/xen/xenbus/xenbus_dev_frontend.c
+1
-1
include/drm/drm_file.h
include/drm/drm_file.h
+1
-1
include/linux/rpmsg.h
include/linux/rpmsg.h
+2
-2
include/misc/cxl.h
include/misc/cxl.h
+1
-1
No files found.
drivers/android/binder.c
View file @
afc9a42b
...
...
@@ -4276,7 +4276,7 @@ static int binder_thread_release(struct binder_proc *proc,
return
active_transactions
;
}
static
unsigned
in
t
binder_poll
(
struct
file
*
filp
,
static
__poll_
t
binder_poll
(
struct
file
*
filp
,
struct
poll_table_struct
*
wait
)
{
struct
binder_proc
*
proc
=
filp
->
private_data
;
...
...
drivers/bluetooth/hci_ldisc.c
View file @
afc9a42b
...
...
@@ -794,7 +794,7 @@ static ssize_t hci_uart_tty_write(struct tty_struct *tty, struct file *file,
return
0
;
}
static
unsigned
in
t
hci_uart_tty_poll
(
struct
tty_struct
*
tty
,
static
__poll_
t
hci_uart_tty_poll
(
struct
tty_struct
*
tty
,
struct
file
*
filp
,
poll_table
*
wait
)
{
return
0
;
...
...
drivers/bluetooth/hci_vhci.c
View file @
afc9a42b
...
...
@@ -299,7 +299,7 @@ static ssize_t vhci_write(struct kiocb *iocb, struct iov_iter *from)
return
vhci_get_user
(
data
,
from
);
}
static
unsigned
in
t
vhci_poll
(
struct
file
*
file
,
poll_table
*
wait
)
static
__poll_
t
vhci_poll
(
struct
file
*
file
,
poll_table
*
wait
)
{
struct
vhci_data
*
data
=
file
->
private_data
;
...
...
drivers/char/apm-emulation.c
View file @
afc9a42b
...
...
@@ -236,7 +236,7 @@ static ssize_t apm_read(struct file *fp, char __user *buf, size_t count, loff_t
return
ret
;
}
static
unsigned
in
t
apm_poll
(
struct
file
*
fp
,
poll_table
*
wait
)
static
__poll_
t
apm_poll
(
struct
file
*
fp
,
poll_table
*
wait
)
{
struct
apm_user
*
as
=
fp
->
private_data
;
...
...
drivers/char/dsp56k.c
View file @
afc9a42b
...
...
@@ -406,7 +406,7 @@ static long dsp56k_ioctl(struct file *file, unsigned int cmd,
* Do I need this function at all???
*/
#if 0
static
unsigned in
t dsp56k_poll(struct file *file, poll_table *wait)
static
__poll_
t dsp56k_poll(struct file *file, poll_table *wait)
{
int dev = iminor(file_inode(file)) & 0x0f;
...
...
drivers/char/dtlk.c
View file @
afc9a42b
...
...
@@ -91,7 +91,7 @@ static ssize_t dtlk_read(struct file *, char __user *,
size_t
nbytes
,
loff_t
*
ppos
);
static
ssize_t
dtlk_write
(
struct
file
*
,
const
char
__user
*
,
size_t
nbytes
,
loff_t
*
ppos
);
static
unsigned
in
t
dtlk_poll
(
struct
file
*
,
poll_table
*
);
static
__poll_
t
dtlk_poll
(
struct
file
*
,
poll_table
*
);
static
int
dtlk_open
(
struct
inode
*
,
struct
file
*
);
static
int
dtlk_release
(
struct
inode
*
,
struct
file
*
);
static
long
dtlk_ioctl
(
struct
file
*
file
,
...
...
@@ -228,9 +228,9 @@ static ssize_t dtlk_write(struct file *file, const char __user *buf,
return
-
EAGAIN
;
}
static
unsigned
in
t
dtlk_poll
(
struct
file
*
file
,
poll_table
*
wait
)
static
__poll_
t
dtlk_poll
(
struct
file
*
file
,
poll_table
*
wait
)
{
in
t
mask
=
0
;
__poll_
t
mask
=
0
;
unsigned
long
expires
;
TRACE_TEXT
(
" dtlk_poll"
);
...
...
drivers/char/hpet.c
View file @
afc9a42b
...
...
@@ -342,7 +342,7 @@ hpet_read(struct file *file, char __user *buf, size_t count, loff_t * ppos)
return
retval
;
}
static
unsigned
in
t
hpet_poll
(
struct
file
*
file
,
poll_table
*
wait
)
static
__poll_
t
hpet_poll
(
struct
file
*
file
,
poll_table
*
wait
)
{
unsigned
long
v
;
struct
hpet_dev
*
devp
;
...
...
drivers/char/ipmi/bt-bmc.c
View file @
afc9a42b
...
...
@@ -338,10 +338,10 @@ static int bt_bmc_release(struct inode *inode, struct file *file)
return
0
;
}
static
unsigned
in
t
bt_bmc_poll
(
struct
file
*
file
,
poll_table
*
wait
)
static
__poll_
t
bt_bmc_poll
(
struct
file
*
file
,
poll_table
*
wait
)
{
struct
bt_bmc
*
bt_bmc
=
file_bt_bmc
(
file
);
unsigned
in
t
mask
=
0
;
__poll_
t
mask
=
0
;
u8
ctrl
;
poll_wait
(
file
,
&
bt_bmc
->
queue
,
wait
);
...
...
drivers/char/ipmi/ipmi_devintf.c
View file @
afc9a42b
...
...
@@ -78,10 +78,10 @@ static void file_receive_handler(struct ipmi_recv_msg *msg,
spin_unlock_irqrestore
(
&
(
priv
->
recv_msg_lock
),
flags
);
}
static
unsigned
in
t
ipmi_poll
(
struct
file
*
file
,
poll_table
*
wait
)
static
__poll_
t
ipmi_poll
(
struct
file
*
file
,
poll_table
*
wait
)
{
struct
ipmi_file_private
*
priv
=
file
->
private_data
;
unsigned
in
t
mask
=
0
;
__poll_
t
mask
=
0
;
unsigned
long
flags
;
poll_wait
(
file
,
&
priv
->
wait
,
wait
);
...
...
drivers/char/ipmi/ipmi_watchdog.c
View file @
afc9a42b
...
...
@@ -887,9 +887,9 @@ static int ipmi_open(struct inode *ino, struct file *filep)
}
}
static
unsigned
in
t
ipmi_poll
(
struct
file
*
file
,
poll_table
*
wait
)
static
__poll_
t
ipmi_poll
(
struct
file
*
file
,
poll_table
*
wait
)
{
unsigned
in
t
mask
=
0
;
__poll_
t
mask
=
0
;
poll_wait
(
file
,
&
read_q
,
wait
);
...
...
drivers/char/pcmcia/cm4040_cs.c
View file @
afc9a42b
...
...
@@ -415,10 +415,10 @@ static ssize_t cm4040_write(struct file *filp, const char __user *buf,
return
count
;
}
static
unsigned
in
t
cm4040_poll
(
struct
file
*
filp
,
poll_table
*
wait
)
static
__poll_
t
cm4040_poll
(
struct
file
*
filp
,
poll_table
*
wait
)
{
struct
reader_dev
*
dev
=
filp
->
private_data
;
unsigned
in
t
mask
=
0
;
__poll_
t
mask
=
0
;
poll_wait
(
filp
,
&
dev
->
poll_wait
,
wait
);
...
...
drivers/char/ppdev.c
View file @
afc9a42b
...
...
@@ -769,10 +769,10 @@ static int pp_release(struct inode *inode, struct file *file)
}
/* No kernel lock held - fine */
static
unsigned
in
t
pp_poll
(
struct
file
*
file
,
poll_table
*
wait
)
static
__poll_
t
pp_poll
(
struct
file
*
file
,
poll_table
*
wait
)
{
struct
pp_struct
*
pp
=
file
->
private_data
;
unsigned
in
t
mask
=
0
;
__poll_
t
mask
=
0
;
poll_wait
(
file
,
&
pp
->
irq_wait
,
wait
);
if
(
atomic_read
(
&
pp
->
irqc
))
...
...
drivers/char/random.c
View file @
afc9a42b
...
...
@@ -1784,10 +1784,10 @@ urandom_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos)
return
ret
;
}
static
unsigned
in
t
static
__poll_
t
random_poll
(
struct
file
*
file
,
poll_table
*
wait
)
{
unsigned
in
t
mask
;
__poll_
t
mask
;
poll_wait
(
file
,
&
random_read_wait
,
wait
);
poll_wait
(
file
,
&
random_write_wait
,
wait
);
...
...
drivers/char/rtc.c
View file @
afc9a42b
...
...
@@ -147,7 +147,7 @@ static long rtc_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
static
void
rtc_get_rtc_time
(
struct
rtc_time
*
rtc_tm
);
#ifdef RTC_IRQ
static
unsigned
in
t
rtc_poll
(
struct
file
*
file
,
poll_table
*
wait
);
static
__poll_
t
rtc_poll
(
struct
file
*
file
,
poll_table
*
wait
);
#endif
static
void
get_rtc_alm_time
(
struct
rtc_time
*
alm_tm
);
...
...
@@ -790,7 +790,7 @@ static int rtc_release(struct inode *inode, struct file *file)
}
#ifdef RTC_IRQ
static
unsigned
in
t
rtc_poll
(
struct
file
*
file
,
poll_table
*
wait
)
static
__poll_
t
rtc_poll
(
struct
file
*
file
,
poll_table
*
wait
)
{
unsigned
long
l
;
...
...
drivers/char/snsc.c
View file @
afc9a42b
...
...
@@ -321,10 +321,10 @@ scdrv_write(struct file *file, const char __user *buf,
return
status
;
}
static
unsigned
in
t
static
__poll_
t
scdrv_poll
(
struct
file
*
file
,
struct
poll_table_struct
*
wait
)
{
unsigned
in
t
mask
=
0
;
__poll_
t
mask
=
0
;
int
status
=
0
;
struct
subch_data_s
*
sd
=
(
struct
subch_data_s
*
)
file
->
private_data
;
unsigned
long
flags
;
...
...
drivers/char/sonypi.c
View file @
afc9a42b
...
...
@@ -940,7 +940,7 @@ static ssize_t sonypi_misc_read(struct file *file, char __user *buf,
return
ret
;
}
static
unsigned
in
t
sonypi_misc_poll
(
struct
file
*
file
,
poll_table
*
wait
)
static
__poll_
t
sonypi_misc_poll
(
struct
file
*
file
,
poll_table
*
wait
)
{
poll_wait
(
file
,
&
sonypi_device
.
fifo_proc_list
,
wait
);
if
(
kfifo_len
(
&
sonypi_device
.
fifo
))
...
...
drivers/char/tpm/tpm_vtpm_proxy.c
View file @
afc9a42b
...
...
@@ -173,10 +173,10 @@ static ssize_t vtpm_proxy_fops_write(struct file *filp, const char __user *buf,
*
* Return: Poll flags
*/
static
unsigned
in
t
vtpm_proxy_fops_poll
(
struct
file
*
filp
,
poll_table
*
wait
)
static
__poll_
t
vtpm_proxy_fops_poll
(
struct
file
*
filp
,
poll_table
*
wait
)
{
struct
proxy_dev
*
proxy_dev
=
filp
->
private_data
;
unsigned
ret
;
__poll_t
ret
;
poll_wait
(
filp
,
&
proxy_dev
->
wq
,
wait
);
...
...
drivers/char/virtio_console.c
View file @
afc9a42b
...
...
@@ -982,10 +982,10 @@ static ssize_t port_fops_splice_write(struct pipe_inode_info *pipe,
return
ret
;
}
static
unsigned
in
t
port_fops_poll
(
struct
file
*
filp
,
poll_table
*
wait
)
static
__poll_
t
port_fops_poll
(
struct
file
*
filp
,
poll_table
*
wait
)
{
struct
port
*
port
;
unsigned
in
t
ret
;
__poll_
t
ret
;
port
=
filp
->
private_data
;
poll_wait
(
filp
,
&
port
->
waitqueue
,
wait
);
...
...
drivers/char/xillybus/xillybus_core.c
View file @
afc9a42b
...
...
@@ -1736,10 +1736,10 @@ static loff_t xillybus_llseek(struct file *filp, loff_t offset, int whence)
return
pos
;
}
static
unsigned
in
t
xillybus_poll
(
struct
file
*
filp
,
poll_table
*
wait
)
static
__poll_
t
xillybus_poll
(
struct
file
*
filp
,
poll_table
*
wait
)
{
struct
xilly_channel
*
channel
=
filp
->
private_data
;
unsigned
in
t
mask
=
0
;
__poll_
t
mask
=
0
;
unsigned
long
flags
;
poll_wait
(
filp
,
&
channel
->
endpoint
->
ep_wait
,
wait
);
...
...
drivers/dma-buf/dma-buf.c
View file @
afc9a42b
...
...
@@ -157,7 +157,7 @@ static void dma_buf_poll_cb(struct dma_fence *fence, struct dma_fence_cb *cb)
spin_unlock_irqrestore
(
&
dcb
->
poll
->
lock
,
flags
);
}
static
unsigned
in
t
dma_buf_poll
(
struct
file
*
file
,
poll_table
*
poll
)
static
__poll_
t
dma_buf_poll
(
struct
file
*
file
,
poll_table
*
poll
)
{
struct
dma_buf
*
dmabuf
;
struct
reservation_object
*
resv
;
...
...
@@ -195,7 +195,7 @@ static unsigned int dma_buf_poll(struct file *file, poll_table *poll)
if
(
fence_excl
&&
(
!
(
events
&
POLLOUT
)
||
shared_count
==
0
))
{
struct
dma_buf_poll_cb_t
*
dcb
=
&
dmabuf
->
cb_excl
;
unsigned
long
pevents
=
POLLIN
;
__poll_t
pevents
=
POLLIN
;
if
(
shared_count
==
0
)
pevents
|=
POLLOUT
;
...
...
drivers/dma-buf/sync_file.c
View file @
afc9a42b
...
...
@@ -312,7 +312,7 @@ static int sync_file_release(struct inode *inode, struct file *file)
return
0
;
}
static
unsigned
in
t
sync_file_poll
(
struct
file
*
file
,
poll_table
*
wait
)
static
__poll_
t
sync_file_poll
(
struct
file
*
file
,
poll_table
*
wait
)
{
struct
sync_file
*
sync_file
=
file
->
private_data
;
...
...
drivers/firewire/core-cdev.c
View file @
afc9a42b
...
...
@@ -1784,10 +1784,10 @@ static int fw_device_op_release(struct inode *inode, struct file *file)
return
0
;
}
static
unsigned
in
t
fw_device_op_poll
(
struct
file
*
file
,
poll_table
*
pt
)
static
__poll_
t
fw_device_op_poll
(
struct
file
*
file
,
poll_table
*
pt
)
{
struct
client
*
client
=
file
->
private_data
;
unsigned
in
t
mask
=
0
;
__poll_
t
mask
=
0
;
poll_wait
(
file
,
&
client
->
wait
,
pt
);
...
...
drivers/firewire/nosy.c
View file @
afc9a42b
...
...
@@ -328,11 +328,11 @@ nosy_release(struct inode *inode, struct file *file)
return
0
;
}
static
unsigned
in
t
static
__poll_
t
nosy_poll
(
struct
file
*
file
,
poll_table
*
pt
)
{
struct
client
*
client
=
file
->
private_data
;
unsigned
in
t
ret
=
0
;
__poll_
t
ret
=
0
;
poll_wait
(
file
,
&
client
->
buffer
.
wait
,
pt
);
...
...
drivers/gpio/gpiolib.c
View file @
afc9a42b
...
...
@@ -603,11 +603,11 @@ struct lineevent_state {
(GPIOEVENT_REQUEST_RISING_EDGE | \
GPIOEVENT_REQUEST_FALLING_EDGE)
static
unsigned
in
t
lineevent_poll
(
struct
file
*
filep
,
static
__poll_
t
lineevent_poll
(
struct
file
*
filep
,
struct
poll_table_struct
*
wait
)
{
struct
lineevent_state
*
le
=
filep
->
private_data
;
unsigned
in
t
events
=
0
;
__poll_
t
events
=
0
;
poll_wait
(
filep
,
&
le
->
wait
,
wait
);
...
...
drivers/gpu/drm/drm_file.c
View file @
afc9a42b
...
...
@@ -559,10 +559,10 @@ EXPORT_SYMBOL(drm_read);
*
* Mask of POLL flags indicating the current status of the file.
*/
unsigned
in
t
drm_poll
(
struct
file
*
filp
,
struct
poll_table_struct
*
wait
)
__poll_
t
drm_poll
(
struct
file
*
filp
,
struct
poll_table_struct
*
wait
)
{
struct
drm_file
*
file_priv
=
filp
->
private_data
;
unsigned
in
t
mask
=
0
;
__poll_
t
mask
=
0
;
poll_wait
(
filp
,
&
file_priv
->
event_wait
,
wait
);
...
...
drivers/gpu/drm/i915/i915_perf.c
View file @
afc9a42b
...
...
@@ -2331,12 +2331,12 @@ static enum hrtimer_restart oa_poll_check_timer_cb(struct hrtimer *hrtimer)
*
* Returns: any poll events that are ready without sleeping
*/
static
unsigned
in
t
i915_perf_poll_locked
(
struct
drm_i915_private
*
dev_priv
,
static
__poll_
t
i915_perf_poll_locked
(
struct
drm_i915_private
*
dev_priv
,
struct
i915_perf_stream
*
stream
,
struct
file
*
file
,
poll_table
*
wait
)
{
unsigned
in
t
events
=
0
;
__poll_
t
events
=
0
;
stream
->
ops
->
poll_wait
(
stream
,
file
,
wait
);
...
...
@@ -2365,11 +2365,11 @@ static unsigned int i915_perf_poll_locked(struct drm_i915_private *dev_priv,
*
* Returns: any poll events that are ready without sleeping
*/
static
unsigned
in
t
i915_perf_poll
(
struct
file
*
file
,
poll_table
*
wait
)
static
__poll_
t
i915_perf_poll
(
struct
file
*
file
,
poll_table
*
wait
)
{
struct
i915_perf_stream
*
stream
=
file
->
private_data
;
struct
drm_i915_private
*
dev_priv
=
stream
->
dev_priv
;
in
t
ret
;
__poll_
t
ret
;
mutex_lock
(
&
dev_priv
->
perf
.
lock
);
ret
=
i915_perf_poll_locked
(
dev_priv
,
stream
,
file
,
wait
);
...
...
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
View file @
afc9a42b
...
...
@@ -713,7 +713,7 @@ extern int vmw_present_ioctl(struct drm_device *dev, void *data,
struct
drm_file
*
file_priv
);
extern
int
vmw_present_readback_ioctl
(
struct
drm_device
*
dev
,
void
*
data
,
struct
drm_file
*
file_priv
);
extern
unsigned
in
t
vmw_fops_poll
(
struct
file
*
filp
,
extern
__poll_
t
vmw_fops_poll
(
struct
file
*
filp
,
struct
poll_table_struct
*
wait
);
extern
ssize_t
vmw_fops_read
(
struct
file
*
filp
,
char
__user
*
buffer
,
size_t
count
,
loff_t
*
offset
);
...
...
drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c
View file @
afc9a42b
...
...
@@ -412,7 +412,7 @@ int vmw_present_readback_ioctl(struct drm_device *dev, void *data,
* Wrapper around the drm_poll function that makes sure the device is
* processing the fifo if drm_poll decides to wait.
*/
unsigned
in
t
vmw_fops_poll
(
struct
file
*
filp
,
struct
poll_table_struct
*
wait
)
__poll_
t
vmw_fops_poll
(
struct
file
*
filp
,
struct
poll_table_struct
*
wait
)
{
struct
drm_file
*
file_priv
=
filp
->
private_data
;
struct
vmw_private
*
dev_priv
=
...
...
drivers/gpu/vga/vgaarb.c
View file @
afc9a42b
...
...
@@ -1266,7 +1266,7 @@ static ssize_t vga_arb_write(struct file *file, const char __user *buf,
return
ret_val
;
}
static
unsigned
in
t
vga_arb_fpoll
(
struct
file
*
file
,
poll_table
*
wait
)
static
__poll_
t
vga_arb_fpoll
(
struct
file
*
file
,
poll_table
*
wait
)
{
pr_debug
(
"%s
\n
"
,
__func__
);
...
...
drivers/hid/hid-debug.c
View file @
afc9a42b
...
...
@@ -1179,7 +1179,7 @@ static ssize_t hid_debug_events_read(struct file *file, char __user *buffer,
return
ret
;
}
static
unsigned
in
t
hid_debug_events_poll
(
struct
file
*
file
,
poll_table
*
wait
)
static
__poll_
t
hid_debug_events_poll
(
struct
file
*
file
,
poll_table
*
wait
)
{
struct
hid_debug_list
*
list
=
file
->
private_data
;
...
...
drivers/hid/hid-roccat.c
View file @
afc9a42b
...
...
@@ -137,7 +137,7 @@ static ssize_t roccat_read(struct file *file, char __user *buffer,
return
retval
;
}
static
unsigned
in
t
roccat_poll
(
struct
file
*
file
,
poll_table
*
wait
)
static
__poll_
t
roccat_poll
(
struct
file
*
file
,
poll_table
*
wait
)
{
struct
roccat_reader
*
reader
=
file
->
private_data
;
poll_wait
(
file
,
&
reader
->
device
->
wait
,
wait
);
...
...
drivers/hid/hid-sensor-custom.c
View file @
afc9a42b
...
...
@@ -702,11 +702,11 @@ static int hid_sensor_custom_open(struct inode *inode, struct file *file)
return
nonseekable_open
(
inode
,
file
);
}
static
unsigned
in
t
hid_sensor_custom_poll
(
struct
file
*
file
,
static
__poll_
t
hid_sensor_custom_poll
(
struct
file
*
file
,
struct
poll_table_struct
*
wait
)
{
struct
hid_sensor_custom
*
sensor_inst
;
unsigned
in
t
mask
=
0
;
__poll_
t
mask
=
0
;
sensor_inst
=
container_of
(
file
->
private_data
,
struct
hid_sensor_custom
,
custom_dev
);
...
...
drivers/hid/hidraw.c
View file @
afc9a42b
...
...
@@ -249,7 +249,7 @@ static ssize_t hidraw_get_report(struct file *file, char __user *buffer, size_t
return
ret
;
}
static
unsigned
in
t
hidraw_poll
(
struct
file
*
file
,
poll_table
*
wait
)
static
__poll_
t
hidraw_poll
(
struct
file
*
file
,
poll_table
*
wait
)
{
struct
hidraw_list
*
list
=
file
->
private_data
;
...
...
drivers/hid/uhid.c
View file @
afc9a42b
...
...
@@ -753,7 +753,7 @@ static ssize_t uhid_char_write(struct file *file, const char __user *buffer,
return
ret
?
ret
:
count
;
}
static
unsigned
in
t
uhid_char_poll
(
struct
file
*
file
,
poll_table
*
wait
)
static
__poll_
t
uhid_char_poll
(
struct
file
*
file
,
poll_table
*
wait
)
{
struct
uhid_device
*
uhid
=
file
->
private_data
;
...
...
drivers/hid/usbhid/hiddev.c
View file @
afc9a42b
...
...
@@ -422,7 +422,7 @@ static ssize_t hiddev_read(struct file * file, char __user * buffer, size_t coun
* "poll" file op
* No kernel lock - fine
*/
static
unsigned
in
t
hiddev_poll
(
struct
file
*
file
,
poll_table
*
wait
)
static
__poll_
t
hiddev_poll
(
struct
file
*
file
,
poll_table
*
wait
)
{
struct
hiddev_list
*
list
=
file
->
private_data
;
...
...
drivers/hsi/clients/cmt_speech.c
View file @
afc9a42b
...
...
@@ -1124,10 +1124,10 @@ static int cs_char_fasync(int fd, struct file *file, int on)
return
0
;
}
static
unsigned
in
t
cs_char_poll
(
struct
file
*
file
,
poll_table
*
wait
)
static
__poll_
t
cs_char_poll
(
struct
file
*
file
,
poll_table
*
wait
)
{
struct
cs_char
*
csdata
=
file
->
private_data
;
unsigned
in
t
ret
=
0
;
__poll_
t
ret
=
0
;
poll_wait
(
file
,
&
cs_char_data
.
wait
,
wait
);
spin_lock_bh
(
&
csdata
->
lock
);
...
...
drivers/hv/hv_utils_transport.c
View file @
afc9a42b
...
...
@@ -104,7 +104,7 @@ static ssize_t hvt_op_write(struct file *file, const char __user *buf,
return
ret
?
ret
:
count
;
}
static
unsigned
in
t
hvt_op_poll
(
struct
file
*
file
,
poll_table
*
wait
)
static
__poll_
t
hvt_op_poll
(
struct
file
*
file
,
poll_table
*
wait
)
{
struct
hvutil_transport
*
hvt
;
...
...
drivers/iio/iio_core.h
View file @
afc9a42b
...
...
@@ -43,7 +43,7 @@ ssize_t iio_format_value(char *buf, unsigned int type, int size, int *vals);
#ifdef CONFIG_IIO_BUFFER
struct
poll_table_struct
;
unsigned
in
t
iio_buffer_poll
(
struct
file
*
filp
,
__poll_
t
iio_buffer_poll
(
struct
file
*
filp
,
struct
poll_table_struct
*
wait
);
ssize_t
iio_buffer_read_first_n_outer
(
struct
file
*
filp
,
char
__user
*
buf
,
size_t
n
,
loff_t
*
f_ps
);
...
...
drivers/iio/industrialio-buffer.c
View file @
afc9a42b
...
...
@@ -169,7 +169,7 @@ ssize_t iio_buffer_read_first_n_outer(struct file *filp, char __user *buf,
* Return: (POLLIN | POLLRDNORM) if data is available for reading
* or 0 for other cases
*/
unsigned
in
t
iio_buffer_poll
(
struct
file
*
filp
,
__poll_
t
iio_buffer_poll
(
struct
file
*
filp
,
struct
poll_table_struct
*
wait
)
{
struct
iio_dev
*
indio_dev
=
filp
->
private_data
;
...
...
drivers/iio/industrialio-event.c
View file @
afc9a42b
...
...
@@ -95,12 +95,12 @@ EXPORT_SYMBOL(iio_push_event);
* Return: (POLLIN | POLLRDNORM) if data is available for reading
* or a negative error code on failure
*/
static
unsigned
in
t
iio_event_poll
(
struct
file
*
filep
,
static
__poll_
t
iio_event_poll
(
struct
file
*
filep
,
struct
poll_table_struct
*
wait
)
{
struct
iio_dev
*
indio_dev
=
filep
->
private_data
;
struct
iio_event_interface
*
ev_int
=
indio_dev
->
event_interface
;
unsigned
in
t
events
=
0
;
__poll_
t
events
=
0
;
if
(
!
indio_dev
->
info
)
return
events
;
...
...
drivers/infiniband/core/ucm.c
View file @
afc9a42b
...
...
@@ -1130,11 +1130,11 @@ static ssize_t ib_ucm_write(struct file *filp, const char __user *buf,
return
result
;
}
static
unsigned
in
t
ib_ucm_poll
(
struct
file
*
filp
,
static
__poll_
t
ib_ucm_poll
(
struct
file
*
filp
,
struct
poll_table_struct
*
wait
)
{
struct
ib_ucm_file
*
file
=
filp
->
private_data
;
unsigned
in
t
mask
=
0
;
__poll_
t
mask
=
0
;
poll_wait
(
filp
,
&
file
->
poll_wait
,
wait
);
...
...
drivers/infiniband/core/ucma.c
View file @
afc9a42b
...
...
@@ -1630,10 +1630,10 @@ static ssize_t ucma_write(struct file *filp, const char __user *buf,
return
ret
;
}
static
unsigned
in
t
ucma_poll
(
struct
file
*
filp
,
struct
poll_table_struct
*
wait
)
static
__poll_
t
ucma_poll
(
struct
file
*
filp
,
struct
poll_table_struct
*
wait
)
{
struct
ucma_file
*
file
=
filp
->
private_data
;
unsigned
in
t
mask
=
0
;
__poll_
t
mask
=
0
;
poll_wait
(
filp
,
&
file
->
poll_wait
,
wait
);
...
...
drivers/infiniband/core/user_mad.c
View file @
afc9a42b
...
...
@@ -617,12 +617,12 @@ static ssize_t ib_umad_write(struct file *filp, const char __user *buf,
return
ret
;
}
static
unsigned
in
t
ib_umad_poll
(
struct
file
*
filp
,
struct
poll_table_struct
*
wait
)
static
__poll_
t
ib_umad_poll
(
struct
file
*
filp
,
struct
poll_table_struct
*
wait
)
{
struct
ib_umad_file
*
file
=
filp
->
private_data
;
/* we will always be able to post a MAD send */
unsigned
in
t
mask
=
POLLOUT
|
POLLWRNORM
;
__poll_
t
mask
=
POLLOUT
|
POLLWRNORM
;
poll_wait
(
filp
,
&
file
->
recv_wait
,
wait
);
...
...
drivers/infiniband/core/uverbs_main.c
View file @
afc9a42b
...
...
@@ -339,11 +339,11 @@ static ssize_t ib_uverbs_comp_event_read(struct file *filp, char __user *buf,
sizeof
(
struct
ib_uverbs_comp_event_desc
));
}
static
unsigned
in
t
ib_uverbs_event_poll
(
struct
ib_uverbs_event_queue
*
ev_queue
,
static
__poll_
t
ib_uverbs_event_poll
(
struct
ib_uverbs_event_queue
*
ev_queue
,
struct
file
*
filp
,
struct
poll_table_struct
*
wait
)
{
unsigned
in
t
pollflags
=
0
;
__poll_
t
pollflags
=
0
;
poll_wait
(
filp
,
&
ev_queue
->
poll_wait
,
wait
);
...
...
@@ -355,13 +355,13 @@ static unsigned int ib_uverbs_event_poll(struct ib_uverbs_event_queue *ev_queue,
return
pollflags
;
}
static
unsigned
in
t
ib_uverbs_async_event_poll
(
struct
file
*
filp
,
static
__poll_
t
ib_uverbs_async_event_poll
(
struct
file
*
filp
,
struct
poll_table_struct
*
wait
)
{
return
ib_uverbs_event_poll
(
filp
->
private_data
,
filp
,
wait
);
}
static
unsigned
in
t
ib_uverbs_comp_event_poll
(
struct
file
*
filp
,
static
__poll_
t
ib_uverbs_comp_event_poll
(
struct
file
*
filp
,
struct
poll_table_struct
*
wait
)
{
struct
ib_uverbs_completion_event_file
*
comp_ev_file
=
...
...
drivers/infiniband/hw/hfi1/file_ops.c
View file @
afc9a42b
...
...
@@ -74,7 +74,7 @@
static
int
hfi1_file_open
(
struct
inode
*
inode
,
struct
file
*
fp
);
static
int
hfi1_file_close
(
struct
inode
*
inode
,
struct
file
*
fp
);
static
ssize_t
hfi1_write_iter
(
struct
kiocb
*
kiocb
,
struct
iov_iter
*
from
);
static
unsigned
in
t
hfi1_poll
(
struct
file
*
fp
,
struct
poll_table_struct
*
pt
);
static
__poll_
t
hfi1_poll
(
struct
file
*
fp
,
struct
poll_table_struct
*
pt
);
static
int
hfi1_file_mmap
(
struct
file
*
fp
,
struct
vm_area_struct
*
vma
);
static
u64
kvirt_to_phys
(
void
*
addr
);
...
...
@@ -102,8 +102,8 @@ static int allocate_ctxt(struct hfi1_filedata *fd, struct hfi1_devdata *dd,
struct
hfi1_user_info
*
uinfo
,
struct
hfi1_ctxtdata
**
cd
);
static
void
deallocate_ctxt
(
struct
hfi1_ctxtdata
*
uctxt
);
static
unsigned
in
t
poll_urgent
(
struct
file
*
fp
,
struct
poll_table_struct
*
pt
);
static
unsigned
in
t
poll_next
(
struct
file
*
fp
,
struct
poll_table_struct
*
pt
);
static
__poll_
t
poll_urgent
(
struct
file
*
fp
,
struct
poll_table_struct
*
pt
);
static
__poll_
t
poll_next
(
struct
file
*
fp
,
struct
poll_table_struct
*
pt
);
static
int
user_event_ack
(
struct
hfi1_ctxtdata
*
uctxt
,
u16
subctxt
,
unsigned
long
arg
);
static
int
set_ctxt_pkey
(
struct
hfi1_ctxtdata
*
uctxt
,
unsigned
long
arg
);
...
...
@@ -607,10 +607,10 @@ static int vma_fault(struct vm_fault *vmf)
return
0
;
}
static
unsigned
in
t
hfi1_poll
(
struct
file
*
fp
,
struct
poll_table_struct
*
pt
)
static
__poll_
t
hfi1_poll
(
struct
file
*
fp
,
struct
poll_table_struct
*
pt
)
{
struct
hfi1_ctxtdata
*
uctxt
;
unsigned
pollflag
;
__poll_t
pollflag
;
uctxt
=
((
struct
hfi1_filedata
*
)
fp
->
private_data
)
->
uctxt
;
if
(
!
uctxt
)
...
...
@@ -1425,13 +1425,13 @@ static int user_exp_rcv_invalid(struct hfi1_filedata *fd, unsigned long arg,
return
ret
;
}
static
unsigned
in
t
poll_urgent
(
struct
file
*
fp
,
static
__poll_
t
poll_urgent
(
struct
file
*
fp
,
struct
poll_table_struct
*
pt
)
{
struct
hfi1_filedata
*
fd
=
fp
->
private_data
;
struct
hfi1_ctxtdata
*
uctxt
=
fd
->
uctxt
;
struct
hfi1_devdata
*
dd
=
uctxt
->
dd
;
unsigned
pollflag
;
__poll_t
pollflag
;
poll_wait
(
fp
,
&
uctxt
->
wait
,
pt
);
...
...
@@ -1448,13 +1448,13 @@ static unsigned int poll_urgent(struct file *fp,
return
pollflag
;
}
static
unsigned
in
t
poll_next
(
struct
file
*
fp
,
static
__poll_
t
poll_next
(
struct
file
*
fp
,
struct
poll_table_struct
*
pt
)
{
struct
hfi1_filedata
*
fd
=
fp
->
private_data
;
struct
hfi1_ctxtdata
*
uctxt
=
fd
->
uctxt
;