diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-07-03 06:39:46 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-11-28 11:06:58 -0500 |
commit | afc9a42b7464f76e1388cad87d8543c69f6f74ed (patch) | |
tree | abc3abe50053edd3dcf0b04c2d2a63640ee89f6b /drivers/xen/pvcalls-front.c | |
parent | c23e0cb81e4021b9712b1093d54713991fd9b7c2 (diff) |
the rest of drivers/*: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/xen/pvcalls-front.c')
-rw-r--r-- | drivers/xen/pvcalls-front.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/xen/pvcalls-front.c b/drivers/xen/pvcalls-front.c index 40caa92bff33..74c854955a6b 100644 --- a/drivers/xen/pvcalls-front.c +++ b/drivers/xen/pvcalls-front.c | |||
@@ -878,7 +878,7 @@ received: | |||
878 | return ret; | 878 | return ret; |
879 | } | 879 | } |
880 | 880 | ||
881 | static unsigned int pvcalls_front_poll_passive(struct file *file, | 881 | static __poll_t pvcalls_front_poll_passive(struct file *file, |
882 | struct pvcalls_bedata *bedata, | 882 | struct pvcalls_bedata *bedata, |
883 | struct sock_mapping *map, | 883 | struct sock_mapping *map, |
884 | poll_table *wait) | 884 | poll_table *wait) |
@@ -935,12 +935,12 @@ static unsigned int pvcalls_front_poll_passive(struct file *file, | |||
935 | return 0; | 935 | return 0; |
936 | } | 936 | } |
937 | 937 | ||
938 | static unsigned int pvcalls_front_poll_active(struct file *file, | 938 | static __poll_t pvcalls_front_poll_active(struct file *file, |
939 | struct pvcalls_bedata *bedata, | 939 | struct pvcalls_bedata *bedata, |
940 | struct sock_mapping *map, | 940 | struct sock_mapping *map, |
941 | poll_table *wait) | 941 | poll_table *wait) |
942 | { | 942 | { |
943 | unsigned int mask = 0; | 943 | __poll_t mask = 0; |
944 | int32_t in_error, out_error; | 944 | int32_t in_error, out_error; |
945 | struct pvcalls_data_intf *intf = map->active.ring; | 945 | struct pvcalls_data_intf *intf = map->active.ring; |
946 | 946 | ||
@@ -958,12 +958,12 @@ static unsigned int pvcalls_front_poll_active(struct file *file, | |||
958 | return mask; | 958 | return mask; |
959 | } | 959 | } |
960 | 960 | ||
961 | unsigned int pvcalls_front_poll(struct file *file, struct socket *sock, | 961 | __poll_t pvcalls_front_poll(struct file *file, struct socket *sock, |
962 | poll_table *wait) | 962 | poll_table *wait) |
963 | { | 963 | { |
964 | struct pvcalls_bedata *bedata; | 964 | struct pvcalls_bedata *bedata; |
965 | struct sock_mapping *map; | 965 | struct sock_mapping *map; |
966 | int ret; | 966 | __poll_t ret; |
967 | 967 | ||
968 | pvcalls_enter(); | 968 | pvcalls_enter(); |
969 | if (!pvcalls_front_dev) { | 969 | if (!pvcalls_front_dev) { |