mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
9de1be6ec0
All poll handlers should return a poll flag, and not error codes. So, instead of returning an error, do the right thing at saa7164, e. g. to return EPOLERR on errors, just like the V4L2 VB2 code. Solves the following sparse warnings: drivers/media/pci/saa7164/saa7164-vbi.c:632:24: warning: incorrect type in return expression (different base types) drivers/media/pci/saa7164/saa7164-vbi.c:632:24: expected restricted __poll_t drivers/media/pci/saa7164/saa7164-vbi.c:632:24: got int drivers/media/pci/saa7164/saa7164-vbi.c:637:40: warning: incorrect type in return expression (different base types) drivers/media/pci/saa7164/saa7164-vbi.c:637:40: expected restricted __poll_t drivers/media/pci/saa7164/saa7164-vbi.c:637:40: got int drivers/media/pci/saa7164/saa7164-vbi.c:647:40: warning: incorrect type in return expression (different base types) drivers/media/pci/saa7164/saa7164-vbi.c:647:40: expected restricted __poll_t drivers/media/pci/saa7164/saa7164-vbi.c:647:40: got int Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> |
||
---|---|---|
.. | ||
b2c2 | ||
bt8xx | ||
cobalt | ||
cx18 | ||
cx88 | ||
cx23885 | ||
cx25821 | ||
ddbridge | ||
dm1105 | ||
dt3155 | ||
intel | ||
ivtv | ||
mantis | ||
meye | ||
netup_unidvb | ||
ngene | ||
pluto2 | ||
pt1 | ||
pt3 | ||
saa7134 | ||
saa7146 | ||
saa7164 | ||
smipcie | ||
solo6x10 | ||
sta2x11 | ||
ttpci | ||
tw68 | ||
tw686x | ||
tw5864 | ||
Kconfig | ||
Makefile |