linux_dsm_epyc7002/drivers/media/usb
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
..
airspy media: usb: make video_device const 2017-08-27 08:45:32 -04:00
as102 media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
au0828 treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
b2c2 media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
cpia2 media: annotate ->poll() instances 2017-11-27 16:20:06 -05:00
cx231xx media: annotate ->poll() instances 2017-11-27 16:20:06 -05:00
dvb-usb media: dvb: i2c transfers over usb cannot be done from stack 2017-11-30 04:39:32 -05:00
dvb-usb-v2 media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
em28xx media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
go7007 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
gspca Merge branch 'misc.poll' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2018-01-30 17:58:07 -08:00
hackrf media: usb: make video_device const 2017-08-27 08:45:32 -04:00
hdpvr media: annotate ->poll() instances 2017-11-27 16:20:06 -05:00
msi2500 media: usb: fix spelling mistake: "synchronuously" -> "synchronously" 2017-11-07 03:47:09 -05:00
pulse8-cec media: usb: pulse8-cec: constify serio_device_id 2017-08-20 08:27:13 -04:00
pvrusb2 media: annotate ->poll() instances 2017-11-27 16:20:06 -05:00
pwc media: drivers: remove "/**" from non-kernel-doc comments 2017-11-30 04:19:03 -05:00
rainshadow-cec media: usb: rainshadow-cec: constify serio_device_id 2017-08-20 08:27:29 -04:00
s2255 media: s2255: Convert timers to use timer_setup() 2017-10-31 07:25:36 -04:00
siano media: siano: get rid of documentation warnings 2017-11-27 08:40:36 -05:00
stk1160 media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
stkwebcam media: annotate ->poll() instances 2017-11-27 16:20:06 -05:00
tm6000 media: annotate ->poll() instances 2017-11-27 16:20:06 -05:00
ttusb-budget media: drivers: remove "/**" from non-kernel-doc comments 2017-11-30 04:19:03 -05:00
ttusb-dec media: usb: constify usb_device_id 2017-08-20 08:04:51 -04:00
usbtv media: usbtv: add a new usbid 2017-11-27 14:49:18 -05:00
usbvision License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
uvc media: annotate ->poll() instances 2017-11-27 16:20:06 -05:00
zr364xx media: annotate ->poll() instances 2017-11-27 16:20:06 -05:00
Kconfig [media] rainshadow-cec: new RainShadow Tech HDMI CEC driver 2017-04-10 12:42:10 -03:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00