linux/drivers/media/platform
Linus Torvalds 168fe32a07 Merge branch 'misc.poll' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull poll annotations from Al Viro:
 "This introduces a __bitwise type for POLL### bitmap, and propagates
  the annotations through the tree. Most of that stuff is as simple as
  'make ->poll() instances return __poll_t and do the same to local
  variables used to hold the future return value'.

  Some of the obvious brainos found in process are fixed (e.g. POLLIN
  misspelled as POLL_IN). At that point the amount of sparse warnings is
  low and most of them are for genuine bugs - e.g. ->poll() instance
  deciding to return -EINVAL instead of a bitmap. I hadn't touched those
  in this series - it's large enough as it is.

  Another problem it has caught was eventpoll() ABI mess; select.c and
  eventpoll.c assumed that corresponding POLL### and EPOLL### were
  equal. That's true for some, but not all of them - EPOLL### are
  arch-independent, but POLL### are not.

  The last commit in this series separates userland POLL### values from
  the (now arch-independent) kernel-side ones, converting between them
  in the few places where they are copied to/from userland. AFAICS, this
  is the least disruptive fix preserving poll(2) ABI and making epoll()
  work on all architectures.

  As it is, it's simply broken on sparc - try to give it EPOLLWRNORM and
  it will trigger only on what would've triggered EPOLLWRBAND on other
  architectures. EPOLLWRBAND and EPOLLRDHUP, OTOH, are never triggered
  at all on sparc. With this patch they should work consistently on all
  architectures"

* 'misc.poll' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: (37 commits)
  make kernel-side POLL... arch-independent
  eventpoll: no need to mask the result of epi_item_poll() again
  eventpoll: constify struct epoll_event pointers
  debugging printk in sg_poll() uses %x to print POLL... bitmap
  annotate poll(2) guts
  9p: untangle ->poll() mess
  ->si_band gets POLL... bitmap stored into a user-visible long field
  ring_buffer_poll_wait() return value used as return value of ->poll()
  the rest of drivers/*: annotate ->poll() instances
  media: annotate ->poll() instances
  fs: annotate ->poll() instances
  ipc, kernel, mm: annotate ->poll() instances
  net: annotate ->poll() instances
  apparmor: annotate ->poll() instances
  tomoyo: annotate ->poll() instances
  sound: annotate ->poll() instances
  acpi: annotate ->poll() instances
  crypto: annotate ->poll() instances
  block: annotate ->poll() instances
  x86: annotate ->poll() instances
  ...
2018-01-30 17:58:07 -08:00
..
am437x media: v4l: async: Move async subdev notifier operations to a separate structure 2017-10-31 13:51:45 -04:00
atmel media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
blackfin media: drivers: delete error messages for failed memory allocation 2017-09-23 08:19:55 -04:00
cec-gpio [media] cec-gpio: don't generate spurious HPD events 2017-10-04 17:04:18 -03:00
coda media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
davinci Merge branch 'misc.poll' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2018-01-30 17:58:07 -08:00
exynos4-is media: exynos4-is: fix kernel-doc warnings 2017-11-30 04:18:54 -05:00
exynos-gsc media: annotate ->poll() instances 2017-11-27 16:20:06 -05:00
marvell-ccic License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
meson media: platform: Add Amlogic Meson AO CEC Controller driver 2017-08-09 10:45:26 -04:00
mtk-jpeg media: vcodec: mediatek: constify v4l2_m2m_ops structures 2017-08-20 08:03:55 -04:00
mtk-mdp License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mtk-vcodec media: vdec: fix some kernel-doc warnings 2017-11-30 04:18:59 -05:00
mtk-vpu media: mtk-vpu: add description for wdt fields at struct mtk_vpu 2017-11-30 04:19:00 -05:00
omap media: annotate ->poll() instances 2017-11-27 16:20:06 -05:00
omap3isp media: annotate ->poll() instances 2017-11-27 16:20:06 -05:00
qcom AFS development 2017-11-16 11:41:22 -08:00
rcar-vin media: v4l: async: Move async subdev notifier operations to a separate structure 2017-10-31 13:51:45 -04:00
rockchip/rga media: rockchip/rga: annotate PM functions as __maybe_unused 2017-10-31 07:21:56 -04:00
s3c-camif Merge branch 'misc.poll' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2018-01-30 17:58:07 -08:00
s5p-cec media: s5p-cec: add NACK detection support 2017-09-23 07:29:30 -04:00
s5p-g2d media: platform: make video_device const 2017-08-27 08:44:30 -04:00
s5p-jpeg media: s5p-jpeg: directly use parsed subsampling on exynos5433 2017-08-20 08:02:21 -04:00
s5p-mfc media: annotate ->poll() instances 2017-11-27 16:20:06 -05:00
soc_camera Merge branch 'misc.poll' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2018-01-30 17:58:07 -08:00
sti media: drivers: remove "/**" from non-kernel-doc comments 2017-11-30 04:19:03 -05:00
stm32 media: v4l: async: Move async subdev notifier operations to a separate structure 2017-10-31 13:51:45 -04:00
tegra-cec media: tegra-cec: fix messy probe() cleanup 2017-10-31 07:23:52 -04:00
ti-vpe media: drivers: remove "/**" from non-kernel-doc comments 2017-11-30 04:19:03 -05:00
vimc media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
vivid media: annotate ->poll() instances 2017-11-27 16:20:06 -05:00
vsp1 media: vsp1: add a missing kernel-doc parameter 2017-11-30 04:19:02 -05:00
xilinx media: v4l: async: Move async subdev notifier operations to a separate structure 2017-10-31 13:51:45 -04:00
arv.c
fsl-viu.c media: annotate ->poll() instances 2017-11-27 16:20:06 -05:00
Kconfig media: tegra-cec: add Tegra HDMI CEC driver 2017-10-27 15:48:57 +02:00
m2m-deinterlace.c media: annotate ->poll() instances 2017-11-27 16:20:06 -05:00
Makefile media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
mx2_emmaprp.c media: annotate ->poll() instances 2017-11-27 16:20:06 -05:00
pxa_camera.c media: pxa_camera: get rid of kernel_doc warnings 2017-11-30 04:18:56 -05:00
rcar_drif.c media: v4l: async: Move async subdev notifier operations to a separate structure 2017-10-31 13:51:45 -04:00
rcar_fdp1.c media: drivers: remove "/**" from non-kernel-doc comments 2017-11-30 04:19:03 -05:00
rcar_jpu.c media: rcar_jpu: fix two kernel-doc markups 2017-11-30 04:19:03 -05:00
rcar-fcp.c
sh_veu.c Merge branch 'misc.poll' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2018-01-30 17:58:07 -08:00
sh_vou.c
via-camera.c media: annotate ->poll() instances 2017-11-27 16:20:06 -05:00
via-camera.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
video-mux.c
vim2m.c media: drivers: remove "/**" from non-kernel-doc comments 2017-11-30 04:19:03 -05:00